Skip to content

Commit 2af576b

Browse files
test(sort): Add locale collation tests (fr_FR.UTF-8)
1 parent cd93429 commit 2af576b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/by-util/test_sort.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2480,13 +2480,13 @@ fn test_locale_collation_c_locale() {
24802480

24812481
#[test]
24822482
fn test_locale_collation_utf8() {
2483-
// Test UTF-8 locale handling - behavior depends on i18n-collator feature
2483+
// Test French UTF-8 locale handling - behavior depends on i18n-collator feature
24842484
// With feature: locale-aware collation (é sorts near e)
24852485
// Without feature: byte order (é after z, since 0xC3A9 > 0x7A)
24862486
let input = "z\né\ne\na\n";
24872487

24882488
let result = new_ucmd!()
2489-
.env("LC_ALL", "en_US.UTF-8")
2489+
.env("LC_ALL", "fr_FR.UTF-8")
24902490
.pipe_in(input)
24912491
.succeeds();
24922492

0 commit comments

Comments
 (0)