Commit d060d5a
test: don't assert filesystem order in LocalesManagerTest.testGetAvailableLocales
The unsorted getAvailableLocales(false) list comes from File.listFiles(), whose
order is not guaranteed and varies by OS/filesystem. The test asserted fr_FR was
first, which failed on CI where en_US is listed first. Assert that both locales
are present (size + contains) instead, and keep the deterministic ordering
assertions for the sorted list.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 7b9cf12 commit d060d5a
1 file changed
Lines changed: 6 additions & 4 deletions
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | | - | |
| 232 | + | |
| 233 | + | |
233 | 234 | | |
234 | | - | |
235 | | - | |
236 | | - | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
237 | 239 | | |
238 | 240 | | |
239 | 241 | | |
| |||
0 commit comments