Skip to content

Commit

Permalink
Add tests for uppercase locales
Browse files Browse the repository at this point in the history
  • Loading branch information
jedel1043 committed Oct 9, 2023
1 parent a437395 commit ebeda52
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions components/locid/tests/fixtures/canonicalize.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,35 @@
"type": "Locale",
"identifier": "en-t-en-latn-ca-emodeng"
}
},
{
"input": {
"type": "Locale",
"identifier": "EN-US-T-ES-AR-X-FOO"
},
"output": {
"type": "Locale",
"identifier": "en-US-t-es-ar-x-foo"
}
},
{
"input": {
"type": "Locale",
"identifier": "EN-T-EN-LATN-CA-EMODENG"
},
"output": {
"type": "Locale",
"identifier": "en-t-en-latn-ca-emodeng"
}
},
{
"input": {
"type": "Locale",
"identifier": "UND-CYRL-T-ES-LATN-M0-UNGEGN"
},
"output": {
"type": "Locale",
"identifier": "und-Cyrl-t-es-latn-m0-ungegn"
}
}
]

0 comments on commit ebeda52

Please sign in to comment.