Преглед изворни кода

cancel the env change after the test

pull/405/head
Bastien Chamagne пре 8 година
родитељ
комит
9ffba9a6bc
1 измењених фајлова са 1 додато и 0 уклоњено
  1. +1
    -0
      test/lager_test_backend.erl

+ 1
- 0
test/lager_test_backend.erl Прегледај датотеку

@ -710,6 +710,7 @@ lager_test_() ->
fun() ->
application:set_env(sasl, utc_log, true),
lager:warning("so long, and thanks for all the fish"),
application:set_env(sasl, utc_log, false),
?assertEqual(1, count()),
{_Level, {_Date, Time}, _Message, _Metadata} = pop(),
?assertNotEqual(nomatch, binary:match(iolist_to_binary(Time), <<"UTC">>)),

Loading…
Откажи
Сачувај