Remove obsolete wasm-specific test cfg

This commit is contained in:
Richard Feldman 2024-02-13 12:58:42 -05:00
parent e8a0b0930d
commit 5fe9c0d7a3
No known key found for this signature in database
GPG Key ID: F1F21AA5B1D9E43B

View File

@ -1752,7 +1752,6 @@ fn str_walk_utf8() {
#[test]
#[cfg(any(feature = "gen-llvm", feature = "gen-dev"))]
fn str_walk_utf8_with_index() {
#[cfg(not(feature = "gen-llvm-wasm"))]
assert_evals_to!(
indoc!(
r#"
@ -1762,17 +1761,6 @@ fn str_walk_utf8_with_index() {
RocList::from_slice(&[(0, b'a'), (1, b'b'), (2, b'c'), (3, b'd')]),
RocList<(u64, u8)>
);
#[cfg(feature = "gen-llvm-wasm")]
assert_evals_to!(
indoc!(
r#"
Str.walkUtf8WithIndex "abcd" [] (\list, byte, index -> List.append list (Pair index byte))
"#
),
RocList::from_slice(&[(0, 'a'), (1, 'b'), (2, 'c'), (3, 'd')]),
RocList<(u32, char)>
);
}
#[test]