reenable UTF-8 BOM tests (#2031)

This commit is contained in:
Alex Crichton 2020-03-04 16:19:36 -06:00 committed by GitHub
parent 7a7b412bae
commit 6d5fc3dcca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -13,8 +13,7 @@ export function test_string_roundtrip(f) {
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) {

View File

@ -12,6 +12,5 @@ extern "C" {
fn string_roundtrip() {
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"));
}