Skip to content

test: cover non-code Java error candidates - #57

Merged
philipgreat merged 1 commit into
mainfrom
issue/53-ignore-java-non-code
Aug 11, 2026
Merged

philipgreat merged 1 commit into
mainfrom
issue/53-ignore-java-non-code

Conversation

@philipgreat

Copy link
Copy Markdown
Contributor

Summary

  • lock in scanner behavior for Java text blocks and character literals
  • verify fake exception text is ignored while a following real throw is retained
  • verify the preserved source line number for the real occurrence

The comment/literal masking implementation landed with PR #55; this focused regression test completes the remaining acceptance coverage.

Verification

python3 -m unittest discover -v
python3 tools/test_error_catalog.py
python3 tools/error_catalog.py validate errors/catalog.yml
git diff --check

Fixes #53

@philipgreat
philipgreat merged commit 8def719 into main Aug 11, 2026
1 check passed
@philipgreat
philipgreat deleted the issue/53-ignore-java-non-code branch August 11, 2026 08:14
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.

Ignore Java comments and literals when scanning error candidates

1 participant