Skip to content

Commit 6d5fc3d

Browse files
authored
reenable UTF-8 BOM tests (rustwasm#2031)
1 parent 7a7b412 commit 6d5fc3d

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

tests/headless/strings.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ export function test_string_roundtrip(f) {
1313
test('a longer string');
1414
test('a longer 💖 string');
1515

16-
// TODO re-enable this when Firefox 70 is released
17-
//test('\uFEFFbar');
16+
test('\uFEFFbar');
1817
}
1918

2019
export function identity(s) {

tests/headless/strings.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,5 @@ extern "C" {
1212
fn string_roundtrip() {
1313
test_string_roundtrip(&Closure::wrap(Box::new(|s| s)));
1414

15-
// TODO re-enable this when Firefox 70 is released
16-
//assert_eq!("\u{feff}bar", &identity("\u{feff}bar"));
15+
assert_eq!("\u{feff}bar", &identity("\u{feff}bar"));
1716
}

0 commit comments

Comments
 (0)