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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user