1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 23:36:37 +02:00

tests: add another test on function string_translate_chars

This commit is contained in:
Sébastien Helleu
2022-10-22 14:19:12 +02:00
parent 196a051141
commit 3b674a5e16
+5
View File
@@ -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"));
}
/*