diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/log.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/unit/log.c b/test/unit/log.c index 053fea4..3c1a208 100644 --- a/test/unit/log.c +++ b/test/unit/log.c @@ -176,8 +176,7 @@ TEST_END */ TEST_BEGIN(test_log_only_format_string) { if (false) { - static log_var_t l = LOG_VAR_INIT("str"); - log(l, "No arguments follow this format string."); + log("log_str", "No arguments follow this format string."); } } TEST_END |