Selaa lähdekoodia

cancel the env change after the test

pull/405/head
Bastien Chamagne 8 vuotta sitten
vanhempi
commit
9ffba9a6bc
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. +1
    -0
      test/lager_test_backend.erl

+ 1
- 0
test/lager_test_backend.erl Näytä tiedosto

@ -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">>)),

Ladataan…
Peruuta
Tallenna