summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2020-01-27 21:21:01 +0100
committerSébastien Helleu <flashcode@flashtux.org>2020-01-27 21:21:01 +0100
commit34bb43379a64ff8f875efcfa5b8335fae9ae7960 (patch)
tree339d736eb915c911a8d69eb54b2383c03cfea80d /tests
parent070e86bd6e2fb917139dd2c7db3764d76d9e3d1d (diff)
downloadweechat-34bb43379a64ff8f875efcfa5b8335fae9ae7960.zip
tests: add eval test with invalid value for "hide:"
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/core/test-core-eval.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/core/test-core-eval.cpp b/tests/unit/core/test-core-eval.cpp
index f01bafd14..f1cbbd7fb 100644
--- a/tests/unit/core/test-core-eval.cpp
+++ b/tests/unit/core/test-core-eval.cpp
@@ -277,6 +277,7 @@ TEST(CoreEval, EvalExpression)
WEE_CHECK_EVAL("\t", "${esc:\t}");
/* test hidden chars */
+ WEE_CHECK_EVAL("", "${hide:invalid}");
WEE_CHECK_EVAL("********", "${hide:*,password}");
WEE_CHECK_EVAL("\u2603\u2603\u2603", "${hide:${esc:\u2603},abc}");