Skip to content

Commit

Permalink
chore(coverage): ignore test262 stage3 json-modules
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Aug 20, 2024
1 parent ce4d469 commit 8b93b1f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
10 changes: 3 additions & 7 deletions tasks/coverage/parser_test262.snap
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
commit: a1587416

parser_test262 Summary:
AST Parsed : 45859/45859 (100.00%)
Positive Passed: 45859/45859 (100.00%)
Negative Passed: 3925/3929 (99.90%)
Expect Syntax Error: tasks/coverage/test262/test/language/import/import-assertions/json-invalid.js
Expect Syntax Error: tasks/coverage/test262/test/language/import/import-assertions/json-named-bindings.js
Expect Syntax Error: tasks/coverage/test262/test/language/import/import-attributes/json-invalid.js
Expect Syntax Error: tasks/coverage/test262/test/language/import/import-attributes/json-named-bindings.js
AST Parsed : 45837/45837 (100.00%)
Positive Passed: 45837/45837 (100.00%)
Negative Passed: 3925/3925 (100.00%)

× '0'-prefixed octal literals and octal escape sequences are deprecated
╭─[test262/test/annexB/language/expressions/template-literal/legacy-octal-escape-sequence-strict.js:18:4]
Expand Down
3 changes: 3 additions & 0 deletions tasks/coverage/src/test262/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ impl Case for Test262Case {
// Regex parser is required. See https://github.com/oxc-project/oxc/issues/385#issuecomment-1755566240
"regexp-v-flag",
"regexp-unicode-property-escapes",
// stage 3 https://github.com/tc39/proposal-json-modules
// ignored due to https://github.com/tc39/proposal-json-modules/issues/27
"json-modules",
]
.iter()
.any(|feature| self.meta.features.iter().any(|f| **f == **feature))
Expand Down

0 comments on commit 8b93b1f

Please sign in to comment.