Skip to content

test(formatter): add exception handler corpus guards#17

Merged
MayerTim merged 1 commit into
mainfrom
test/formatter-corpus-exception-guards
Jun 10, 2026
Merged

test(formatter): add exception handler corpus guards#17
MayerTim merged 1 commit into
mainfrom
test/formatter-corpus-exception-guards

Conversation

@MayerTim

Copy link
Copy Markdown
Owner

Summary

  • Add a Watcom corpus fixture for EXCEPTION WHEN OTHERS THEN BEGIN ... END indentation.
  • Add a Watcom corpus fixture for ON EXCEPTION RESUME, exception declarations, SQLSTATE, and protected exception-handler words inside comments and string literals.
  • 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 fills a small corpus coverage gap identified by the private coverage inventory. It does not change formatter implementation, formatter defaults, extension behavior, product behavior, or public documentation.

@MayerTim MayerTim merged commit 1518810 into main Jun 10, 2026
1 check passed
@MayerTim MayerTim deleted the test/formatter-corpus-exception-guards branch June 10, 2026 21:19
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