Browse Source

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

pull/509/head
Luke Bakken 5 years ago
parent
commit
f23e3e677c
No known key found for this signature in database GPG Key ID: D99DE30E43EAE440
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      test/pr_stacktrace_test.erl

+ 1
- 1
test/pr_stacktrace_test.erl View File

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

Loading…
Cancel
Save