浏览代码

Ensure that all calls to rotate a log file are preceded by closing the FDs associated with it

pull/509/head
Luke Bakken 5 年前
父节点
当前提交
f23e3e677c
找不到此签名对应的密钥 GPG 密钥 ID: D99DE30E43EAE440
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      test/pr_stacktrace_test.erl

+ 1
- 1
test/pr_stacktrace_test.erl 查看文件

@ -49,7 +49,7 @@ pr_stacktrace_bad_arity_test() ->
lager:pr_stacktrace(?GET_STACK(Stacktrace), {Class, Reason})
end,
Want = "pr_stacktrace_test:pr_stacktrace_bad_arity_test/0 line 46\n lists:concat([], [])\nerror:undef",
?assertNotEqual(nomatch, string:str(Got, Want)).
?assertNotEqual(nomatch, string:find(Got, Want)).
pr_stacktrace_no_reverse_test() ->
application:set_env(lager, reverse_pretty_stacktrace, false),

正在加载...
取消
保存