diff options
author | Björn Gustavsson <[email protected]> | 2017-11-16 05:27:05 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2017-11-30 12:46:51 +0100 |
commit | 38e4dfbd281cae0fb58211b63861b037ad121231 (patch) | |
tree | 349b504f5c08809352b06b2a2b219d544b4e1e21 /erts/emulator/test/call_trace_SUITE.erl | |
parent | ef2e55c707a6c3d1f54f2acb9c8bfbe3fb7a8659 (diff) | |
download | otp-38e4dfbd281cae0fb58211b63861b037ad121231.tar.gz otp-38e4dfbd281cae0fb58211b63861b037ad121231.tar.bz2 otp-38e4dfbd281cae0fb58211b63861b037ad121231.zip |
Use the new syntax in more test suites
Diffstat (limited to 'erts/emulator/test/call_trace_SUITE.erl')
-rw-r--r-- | erts/emulator/test/call_trace_SUITE.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/test/call_trace_SUITE.erl b/erts/emulator/test/call_trace_SUITE.erl index 1251d644ae..d19f7f81ad 100644 --- a/erts/emulator/test/call_trace_SUITE.erl +++ b/erts/emulator/test/call_trace_SUITE.erl @@ -1116,8 +1116,8 @@ get_deep_4_loc(Arg) -> deep_4(Arg), ct:fail(should_not_return_to_here) catch - _:_ -> - [{?MODULE,deep_4,1,Loc0}|_] = erlang:get_stacktrace(), + _:_:Stk -> + [{?MODULE,deep_4,1,Loc0}|_] = Stk, Loc0 end. |