Fix assert
This commit is contained in:
parent
de8d2cc3c4
commit
34948d7319
|
@ -242,7 +242,7 @@ start_test() ->
|
|||
{ok, _Pid} = start_link("/tmp/test.log", "ERROR").
|
||||
|
||||
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")).
|
||||
|
||||
-endif.
|
||||
|
|
Loading…
Reference in New Issue
Block a user