From 3b674a5e160301b0af71a6568cc34fdc0ec5fd04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 22 Oct 2022 14:19:12 +0200 Subject: [PATCH] tests: add another test on function string_translate_chars --- tests/unit/core/test-core-string.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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")); } /*