浏览代码

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

正在加载...
取消
保存