Skip to content

test(formatter): add corpus guards for pass interactions#15

Merged
MayerTim merged 2 commits into
mainfrom
test/formatter-corpus-pass-interactions
Jun 10, 2026
Merged

test(formatter): add corpus guards for pass interactions#15
MayerTim merged 2 commits into
mainfrom
test/formatter-corpus-pass-interactions

Conversation

@MayerTim

Copy link
Copy Markdown
Owner

Summary

  • Add a Watcom corpus fixture for split ORDER BY IF ... THEN ... ELSE ... ENDIF continuations.
  • Add a Watcom corpus fixture covering query clauses, CASE expressions, predicate function calls, inline IF expressions, procedural IF indentation, and block endings together.
  • Preserve current formatter behavior with expected-output and idempotency checks.
  • Keep this branch test-only with no extension behavior or default-setting changes.

Validation

  • npm run test:corpus
  • npm run validate
  • npm run package:vsix

Notes

This PR is intentionally test-only. It strengthens formatter corpus coverage around high-risk pass interactions before any future formatter or tokenizer refactor work.

@MayerTim MayerTim merged commit d6a8791 into main Jun 10, 2026
1 check passed
@MayerTim MayerTim deleted the test/formatter-corpus-pass-interactions branch June 10, 2026 20:51
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.

1 participant