Skip to content

test: add variantOffsets tests for getTolgeePlurals#7

Open
Anty0 wants to merge 1 commit into
mainfrom
jirikuchynka/qa-checks
Open

test: add variantOffsets tests for getTolgeePlurals#7
Anty0 wants to merge 1 commit into
mainfrom
jirikuchynka/qa-checks

Conversation

@Anty0
Copy link
Copy Markdown
Member

@Anty0 Anty0 commented Mar 18, 2026

Summary

  • Add tests for the variantOffsets field added in the previous PR
  • Verify offsets point to correct positions in ICU strings for simple, multi-variant, escaped, and empty variant cases
  • Verify variantOffsets is undefined for non-plural and select expressions
  • Verify offsets work in both raw and non-raw parsing modes

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