diff options
author | Hans Bolinder <[email protected]> | 2018-02-05 12:35:15 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2018-02-05 14:45:37 +0100 |
commit | f3c2cfda7f145d6ffd2fdd76659348056f1828c9 (patch) | |
tree | f484fb24671985a19a2b22c1b0047b5c68e2a4af /lib/eunit/src/eunit_lib.erl | |
parent | c8f9f79352f7da02f212848b9a854ca2f6b553d5 (diff) | |
download | otp-f3c2cfda7f145d6ffd2fdd76659348056f1828c9.tar.gz otp-f3c2cfda7f145d6ffd2fdd76659348056f1828c9.tar.bz2 otp-f3c2cfda7f145d6ffd2fdd76659348056f1828c9.zip |
eunit: Do not call erlang:get_stacktrace()
Diffstat (limited to 'lib/eunit/src/eunit_lib.erl')
-rw-r--r-- | lib/eunit/src/eunit_lib.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/eunit/src/eunit_lib.erl b/lib/eunit/src/eunit_lib.erl index d1bd160ea1..771541354c 100644 --- a/lib/eunit/src/eunit_lib.erl +++ b/lib/eunit/src/eunit_lib.erl @@ -202,13 +202,13 @@ format_exception_test_() -> "\nymmud:rorre"++_, lists:reverse(lists:flatten( format_exception(try erlang:error(dummy) - catch C:R -> {C, R, erlang:get_stacktrace()} + catch C:R:S -> {C, R, S} end)))), ?_assertMatch( "\nymmud:rorre"++_, lists:reverse(lists:flatten( format_exception(try erlang:error(dummy, [a]) - catch C:R -> {C, R, erlang:get_stacktrace()} + catch C:R:S -> {C, R, S} end))))]. -endif. |