1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 00:03:12 +02:00

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

This commit is contained in:
Sébastien Helleu
2020-01-27 21:39:08 +01:00
parent 70f0c81a2c
commit dd13393896
+1
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);