Consistent ordering

This commit is contained in:
Andras Schmelczer 2025-03-16 18:19:36 +00:00
parent 7be1454460
commit 74c007be25
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
4 changed files with 15 additions and 38 deletions

View file

@ -25,9 +25,9 @@ fn test_base64_to_bytes_error() {
#[wasm_bindgen_test(unsupported = test)]
fn merge_text() {
let left = b"hello ";
let right = b"world ";
let right = b"world";
let result = merge(b"", left, right);
assert!(result == b"hello world ".to_vec() || result == b"world hello ".to_vec());
assert_eq!(result, b"hello world");
}
#[wasm_bindgen_test(unsupported = test)]