tests: add eval test with empty value for "date:"

v2.8-utf8proc
Sébastien Helleu 2020-01-27 21:39:08 +01:00
parent 70f0c81a2c
commit dd13393896
1 changed files with 1 additions and 0 deletions

View File

@ -449,6 +449,7 @@ TEST(CoreEval, EvalExpression)
WEE_CHECK_EVAL(version_get_version (), "${info:version}");
/* test date */
WEE_CHECK_EVAL("", "${date:}");
value = eval_expression ("${date}", pointers, extra_vars, options);
LONGS_EQUAL(19, strlen (value));
free (value);