fix duplicate test that trips up llvm-wasm

This commit is contained in:
Folkert 2024-01-28 18:29:08 +01:00
parent 4fe383eb43
commit 28ab81614c
No known key found for this signature in database
GPG Key ID: 1F17F6FFD112B97C

View File

@ -1741,11 +1741,11 @@ fn str_walk_utf8() {
assert_evals_to!(
indoc!(
r#"
Str.walkUtf8WithIndex "abcd" [] (\list, byte, index -> List.append list (Pair index byte))
Str.walkUtf8 "abcd" [] (\list, byte -> List.prepend list byte)
"#
),
RocList::from_slice(&[(0, 'a'), (1, 'b'), (2, 'c'), (3, 'd')]),
RocList<(u32, char)>
RocList::from_slice(&[b'd', b'c', b'b', b'a']),
RocList<u8>
);
}