Skip to content

Add more tests for Intl.Locale.prototype.getCollations#5021

Open
anba wants to merge 1 commit intotc39:mainfrom
anba:locale-collations
Open

Add more tests for Intl.Locale.prototype.getCollations#5021
anba wants to merge 1 commit intotc39:mainfrom
anba:locale-collations

Conversation

@anba
Copy link
Copy Markdown
Contributor

@anba anba commented Apr 13, 2026

Add coverage for:

  • Return collations are supported by Intl.Collator.
  • Language subtag is und.
  • Language subtag has more than three letters.
  • Output array is sorted.

Also update existing test meta data to match current spec text and simplify checks in "output-array-values.js"

Add coverage for:
- Return collations are supported by `Intl.Collator`.
- Language subtag is `und`.
- Language subtag has more than three letters.
- Output array is sorted.

Also update existing test meta data to match current spec text and
simplify checks in "output-array-values.js"
@anba anba requested a review from a team as a code owner April 13, 2026 08:14
@anba
Copy link
Copy Markdown
Contributor Author

anba commented Apr 13, 2026

  • output-array-is-sorted.js fails in JSC, because JSC doesn't sort the output array.
  • preferred-from-unicode-extension-true-empty.js fails in JSC and V8 because of an ICU4C-related issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants