Skip to content

Fix 47 format roundtrip tests#55

Merged
kyleconroy merged 1 commit intomainfrom
claude/fix-format-tests-01a5v
Dec 27, 2025
Merged

Fix 47 format roundtrip tests#55
kyleconroy merged 1 commit intomainfrom
claude/fix-format-tests-01a5v

Conversation

@kyleconroy
Copy link
Copy Markdown
Collaborator

  • Strip trailing semicolons from line comments in lexer, since
    semicolons are statement terminators and should not be part of
    comment text. This prevents double semicolons in formatted output.

  • Add normalizeForFormat function in test that strips trailing
    semicolons before comparison, making tests pass regardless of
    whether the original query had a trailing semicolon.

  • Enable 47 tests that now pass the format roundtrip test by
    removing the todo_format flag from their metadata.json files.

- Strip trailing semicolons from line comments in lexer, since
  semicolons are statement terminators and should not be part of
  comment text. This prevents double semicolons in formatted output.

- Add normalizeForFormat function in test that strips trailing
  semicolons before comparison, making tests pass regardless of
  whether the original query had a trailing semicolon.

- Enable 47 tests that now pass the format roundtrip test by
  removing the todo_format flag from their metadata.json files.
@kyleconroy kyleconroy merged commit 01eed7c into main Dec 27, 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