Skip to content

Commit 0bdac59

Browse files
committedMar 24, 2025
test(ast/estree): fix final newlines in TS-ESLint test cases (oxc-project#10009)
Bump `acorn-test262` dependency to include oxc-project/acorn-test262#13. This fixes the mismatch between how our conformance tester and the `acorn-test262` test case generator were handling final newlines in source files.
1 parent 5ed31e0 commit 0bdac59

File tree

4 files changed

+4
-1284
lines changed

4 files changed

+4
-1284
lines changed
 

‎.github/actions/clone-submodules/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ runs:
3838
show-progress: false
3939
repository: oxc-project/acorn-test262
4040
path: tasks/coverage/acorn-test262
41-
ref: eb5e9976435fafd45e2859a4b668a77ec75ce625 # Latest main at 17/3/25
41+
ref: b4592303caa442d3592f5c1c361dc703cec841b2 # Latest main at 24/3/25

‎justfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ submodules:
4040
just clone-submodule tasks/coverage/babel https://github.com/babel/babel.git 578ac4df1c8a05f01350553950dbfbbeaac013c2
4141
just clone-submodule tasks/coverage/typescript https://github.com/microsoft/TypeScript.git 15392346d05045742e653eab5c87538ff2a3c863
4242
just clone-submodule tasks/prettier_conformance/prettier https://github.com/prettier/prettier.git 7584432401a47a26943dd7a9ca9a8e032ead7285
43-
just clone-submodule tasks/coverage/acorn-test262 https://github.com/oxc-project/acorn-test262 eb5e9976435fafd45e2859a4b668a77ec75ce625
43+
just clone-submodule tasks/coverage/acorn-test262 https://github.com/oxc-project/acorn-test262 b4592303caa442d3592f5c1c361dc703cec841b2
4444
just update-transformer-fixtures
4545

4646
# Install git pre-commit to format files

‎tasks/coverage/snapshots/estree_acorn_jsx.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
commit: eb5e9976
1+
commit: b4592303
22

33
estree_acorn_jsx Summary:
44
AST Parsed : 39/39 (100.00%)

‎tasks/coverage/snapshots/estree_typescript.snap

+1-1,281
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
Please sign in to comment.