From 34bb43379a64ff8f875efcfa5b8335fae9ae7960 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Mon, 27 Jan 2020 21:21:01 +0100 Subject: [PATCH] tests: add eval test with invalid value for "hide:" --- tests/unit/core/test-core-eval.cpp | 1 + 1 file changed, 1 insertion(+) 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}");