Skip to content

chore: improve aho-corasick maintenance path#174

Open
vip892766gma wants to merge 1 commit into
BurntSushi:masterfrom
vip892766gma:maint/20260519203910
Open

chore: improve aho-corasick maintenance path#174
vip892766gma wants to merge 1 commit into
BurntSushi:masterfrom
vip892766gma:maint/20260519203910

Conversation

@vip892766gma
Copy link
Copy Markdown

Summary:

  • Add focused unit tests covering edge cases for PatternID/StateID conversions (overflow boundaries, max-value round-trips) and for MatchError/BuildError Display formatting, including a test asserting the precise error message produced when pattern count exceeds the configured limit.
  • Keep the change narrow so it is straightforward to review.

Notes:

  • I kept this scoped to the relevant implementation and tests.

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