summaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/core/test-core-string.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/unit/core/test-core-string.cpp b/tests/unit/core/test-core-string.cpp
index 44bdd3ce2..bf39035b9 100644
--- a/tests/unit/core/test-core-string.cpp
+++ b/tests/unit/core/test-core-string.cpp
@@ -1202,6 +1202,11 @@ TEST(CoreString, TranslateChars)
string_translate_chars ("this is a test",
"abcdefghijklmnopqrstuvwxyz",
"bcdefghijklmnopqrstuvwxyza"));
+
+ WEE_TEST_STR("Uijt jt b uftu",
+ string_translate_chars ("This is a test",
+ "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",
+ "bcdefghijklmnopqrstuvwxyzaBCDEFGHIJKLMNOPQRSTUVWXYZA"));
}
/*