summaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2020-05-21 09:55:40 +0200
committerSébastien Helleu <flashcode@flashtux.org>2020-05-21 09:55:40 +0200
commita997893cfef848e129199c7a92740265599a9cc7 (patch)
treea10777f0799379c57a483552028d265689d9267a /tests/unit
parent66d4590dabb51977df6a460d71dc80c740870b6c (diff)
downloadweechat-a997893cfef848e129199c7a92740265599a9cc7.zip
tests: add test on function string_base16_decode with a char >= 0xA0
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/core/test-core-string.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/core/test-core-string.cpp b/tests/unit/core/test-core-string.cpp
index 3f0217741..8674b6936 100644
--- a/tests/unit/core/test-core-string.cpp
+++ b/tests/unit/core/test-core-string.cpp
@@ -1682,6 +1682,7 @@ TEST(CoreString, Base16)
{ { "", "" },
{ "abcdefgh", "6162636465666768" },
{ "this is a *test*", "746869732069732061202A746573742A" },
+ { "this is a *test*\xAA", "746869732069732061202A746573742AAA" },
{ NULL, NULL } };