Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(coverage): ignore test262 stage3 json-modules #5002

Merged
merged 1 commit into from
Aug 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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