Fix assert

This commit is contained in:
Fabio Salvini 2017-07-03 20:20:22 +02:00
parent de8d2cc3c4
commit 34948d7319

View File

@ -242,7 +242,7 @@ start_test() ->
{ok, _Pid} = start_link("/tmp/test.log", "ERROR"). {ok, _Pid} = start_link("/tmp/test.log", "ERROR").
is_error_test() -> is_error_test() ->
?assert(not is_error("2017-01-01 MyApp - WARN: abc", "ERROR")), ?assertNot(is_error("2017-01-01 MyApp - WARN: abc", "ERROR")),
?assert(is_error("2017-01-01 MyApp - ERROR: abc", "ERROR")). ?assert(is_error("2017-01-01 MyApp - ERROR: abc", "ERROR")).
-endif. -endif.