PT-2149 - Fix tests for pt-mext (#596)

Changed LANG=C to LOCALE=C, because only LANG does not change sort order properly in tr_TR.UTF8 environment
This commit is contained in:
Sveta Smirnova
2023-02-22 19:01:41 +03:00
committed by GitHub
parent beb2b666e8
commit aa1ab5d172

View File

@@ -26,7 +26,7 @@ ok(
no_diff(
"$cmd -- cat $sample/mext-001.txt",
"t/pt-mext/samples/mext-001-result.txt",
post_pipe => "LANG=C sort -k1,1",
post_pipe => "LOCALE=C sort -k1,1",
),
"mext-001"
) or diag($test_diff);
@@ -35,7 +35,7 @@ ok(
no_diff(
"$cmd -r -- cat $sample/mext-002.txt",
"t/pt-mext/samples/mext-002-result.txt",
post_pipe => "LANG=C sort -k1,1",
post_pipe => "LOCALE=C sort -k1,1",
),
"mext-002 -r"
) or diag($test_diff);