Skip to content

test(formatter): add protected text corpus guards#16

Merged
MayerTim merged 1 commit into
mainfrom
test/formatter-corpus-protected-text-interactions
Jun 10, 2026
Merged

test(formatter): add protected text corpus guards#16
MayerTim merged 1 commit into
mainfrom
test/formatter-corpus-protected-text-interactions

Conversation

@MayerTim

Copy link
Copy Markdown
Owner

Summary

  • Add a Watcom corpus fixture for query clauses mixed with strings, comments, quoted identifiers, and bracketed keyword identifiers.
  • Add a Watcom corpus fixture for control-flow words inside comments and string literals alongside a compact CASE expression.
  • Preserve current formatter behavior with expected-output and idempotency checks.
  • Keep this branch test-only with no extension behavior or formatter default changes.

Validation

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

Notes

This PR strengthens protected-text regression coverage before tokenizer or formatter refactor work. It does not change formatter implementation or product behavior.

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