Skip to content

Conversation

@yoikawa
Copy link
Contributor

@yoikawa yoikawa commented Nov 4, 2025

Summary: Increase Basque declension test coverage and introduce a safer default when resolving out-of-range dynamic noun indices.

Changes:

  • Add additional combinations of declension tests.

  • When a dynamic noun index is out of range, fall back to index 0 instead of crashing or rendering a placeholder like "{0}".
    Example:
    Entities: {Account, Contact}
    Token: <entity entity="99"/>

    • Behavior: Treated as <entity entity="0"/> and resolves to Account.

    Impact:
    Behavior change only in out-of-range scenarios; normal cases are unaffected.

    Rationale:
    Provides predictable, non-crashing behavior and avoids bogus output in edge cases.

@yoikawa yoikawa merged commit a495164 into main Nov 4, 2025
4 checks passed
@yoikawa yoikawa deleted the add-more-basque-test-cases branch November 4, 2025 23:03
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.

2 participants