diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2020-01-27 21:21:01 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2020-01-27 21:21:01 +0100 |
commit | 34bb43379a64ff8f875efcfa5b8335fae9ae7960 (patch) | |
tree | 339d736eb915c911a8d69eb54b2383c03cfea80d /tests | |
parent | 070e86bd6e2fb917139dd2c7db3764d76d9e3d1d (diff) | |
download | weechat-34bb43379a64ff8f875efcfa5b8335fae9ae7960.zip |
tests: add eval test with invalid value for "hide:"
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/core/test-core-eval.cpp | 1 |
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}"); |