summaryrefslogtreecommitdiff
path: root/tests/modules/string
diff options
context:
space:
mode:
authorSaikari <[email protected]>2026-01-17 04:00:16 +0300
committerSaikari <[email protected]>2026-01-17 04:00:16 +0300
commitb5f93e02d0e28b694fe452ef868620fffbd7872b (patch)
treedbbfd75399ac3f97ffe05835e29bed2cb2527d23 /tests/modules/string
parentd83c306af108ef93fc08b9db1c42469c7f14372f (diff)
try use setlocale
Diffstat (limited to 'tests/modules/string')
-rw-r--r--tests/modules/string/test.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/modules/string/test.lua b/tests/modules/string/test.lua
index 6bb3b6f78..94b3c1a04 100644
--- a/tests/modules/string/test.lua
+++ b/tests/modules/string/test.lua
@@ -112,4 +112,6 @@ function test_case(t)
t:are_equal(("Hello"):upper(), "HELLO")
t:are_equal(("Звезда Хэнсин"):lower(), "звезда хэнсин")
t:are_equal(("Звезда Хэнсин"):upper(), "ЗВЕЗДА ХЭНСИН")
+ t:are_equal(("Test 源文件🎆 Message"):lower(), "test 源文件🎆 message")
+ t:are_equal(("Test 源文件🎆 Message"):upper(), "TEST 源文件🎆 MESSAGE")
end