Skip to content

Add AST JSON golden files for regression testing#19

Merged
kyleconroy merged 1 commit intomainfrom
claude/create-ast-json-37hO9
Dec 16, 2025
Merged

Add AST JSON golden files for regression testing#19
kyleconroy merged 1 commit intomainfrom
claude/create-ast-json-37hO9

Conversation

@kyleconroy
Copy link
Copy Markdown
Collaborator

Create ast.json files for all 6033 passing tests to ensure AST structure
doesn't change unintentionally. Changes include:

  • Add cmd/generateast tool to generate ast.json files for passing tests
  • Update parser_test.go to verify AST JSON matches golden files
  • Generate ast.json for each test that passes the explain.txt comparison

Create ast.json files for all 6033 passing tests to ensure AST structure
doesn't change unintentionally. Changes include:

- Add cmd/generateast tool to generate ast.json files for passing tests
- Update parser_test.go to verify AST JSON matches golden files
- Generate ast.json for each test that passes the explain.txt comparison
@kyleconroy kyleconroy merged commit 3235edc into main Dec 16, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants