mirror of
https://github.com/weechat/weechat.git
synced 2026-07-01 07:16:37 +02:00
tests: add another test on function string_translate_chars
This commit is contained in:
@@ -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"));
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user