mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2025-01-07 13:43:03 +03:00
reenable UTF-8 BOM tests (#2031)
This commit is contained in:
parent
7a7b412bae
commit
6d5fc3dcca
@ -13,8 +13,7 @@ export function test_string_roundtrip(f) {
|
|||||||
test('a longer string');
|
test('a longer string');
|
||||||
test('a longer 💖 string');
|
test('a longer 💖 string');
|
||||||
|
|
||||||
// TODO re-enable this when Firefox 70 is released
|
test('\uFEFFbar');
|
||||||
//test('\uFEFFbar');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function identity(s) {
|
export function identity(s) {
|
||||||
|
@ -12,6 +12,5 @@ extern "C" {
|
|||||||
fn string_roundtrip() {
|
fn string_roundtrip() {
|
||||||
test_string_roundtrip(&Closure::wrap(Box::new(|s| s)));
|
test_string_roundtrip(&Closure::wrap(Box::new(|s| s)));
|
||||||
|
|
||||||
// TODO re-enable this when Firefox 70 is released
|
assert_eq!("\u{feff}bar", &identity("\u{feff}bar"));
|
||||||
//assert_eq!("\u{feff}bar", &identity("\u{feff}bar"));
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user