chore(coverage): remove tests for stage 3 proposal-json-modules

This commit is contained in:
Boshen 2023-03-14 11:02:00 +08:00
parent ee31f5cc6f
commit e262e18e5f
No known key found for this signature in database
GPG key ID: 6AC90C77AAAA6ABC
2 changed files with 10 additions and 7 deletions

View file

@ -161,8 +161,13 @@ impl Case for Test262Case {
}
fn skip_test_case(&self) -> bool {
std::iter::once("regexp-unicode-property-escapes".to_string().into_boxed_str())
.any(|feature| self.meta.features.contains(&feature))
[
"regexp-unicode-property-escapes",
// Stage 3 `https://github.com/tc39/proposal-json-modules`
"json-modules",
]
.iter()
.any(|feature| self.meta.features.iter().any(|f| **f == **feature))
}
// Unless configured otherwise (via the noStrict, onlyStrict, module, or raw flags),

View file

@ -1,9 +1,7 @@
Test262 Summary:
AST Parsed : 44015/44034 (99.96%)
Positive Passed: 44015/44034 (99.96%)
Negative Passed: 3908/3917 (99.77%)
Expect Syntax Error: "language/import/json-invalid.js"
Expect Syntax Error: "language/import/json-named-bindings.js"
AST Parsed : 44005/44024 (99.96%)
Positive Passed: 44005/44024 (99.96%)
Negative Passed: 3908/3915 (99.82%)
Expect Syntax Error: "language/module-code/early-dup-export-as-star-as.js"
Expect Syntax Error: "language/module-code/early-dup-export-dflt-id.js"
Expect Syntax Error: "language/module-code/early-dup-export-id-as.js"