aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rwxr-xr-xtests/ranking.sh6
2 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 1b95d76..cdeb7ea 100644
--- a/Makefile
+++ b/Makefile
@@ -39,7 +39,7 @@ fallible-tests: $(sources)
check: all
./run-tests
sh tests/cli-opts.sh
- sh tests/ranking.sh
+ LANG=C.UTF-8 sh tests/ranking.sh
sh tests/signals.sh
dev-check: check fallible-tests
diff --git a/tests/ranking.sh b/tests/ranking.sh
index 4f7e376..a876f07 100755
--- a/tests/ranking.sh
+++ b/tests/ranking.sh
@@ -306,10 +306,10 @@ test_utf8_commands() {
á
è
ŭ 😀'
- EXPECTED='0:❤️
-0:á
+ EXPECTED='0:á
0:è
-1:ŭ 😀'
+1:ŭ 😀
+0:❤️'
pick_x 'ŭ 😀' "$INPUT"
assert_profile "$PROFILE" "$EXPECTED"
test_ok