瀏覽代碼

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…
取消
儲存