aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/exception_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-11-16 05:27:05 +0100
committerBjörn Gustavsson <[email protected]>2017-11-30 12:46:51 +0100
commit38e4dfbd281cae0fb58211b63861b037ad121231 (patch)
tree349b504f5c08809352b06b2a2b219d544b4e1e21 /erts/emulator/test/exception_SUITE.erl
parentef2e55c707a6c3d1f54f2acb9c8bfbe3fb7a8659 (diff)
downloadotp-38e4dfbd281cae0fb58211b63861b037ad121231.tar.gz
otp-38e4dfbd281cae0fb58211b63861b037ad121231.tar.bz2
otp-38e4dfbd281cae0fb58211b63861b037ad121231.zip
Use the new syntax in more test suites
Diffstat (limited to 'erts/emulator/test/exception_SUITE.erl')
-rw-r--r--erts/emulator/test/exception_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/test/exception_SUITE.erl b/erts/emulator/test/exception_SUITE.erl
index be9b63d534..da0292f385 100644
--- a/erts/emulator/test/exception_SUITE.erl
+++ b/erts/emulator/test/exception_SUITE.erl
@@ -395,12 +395,12 @@ raise(Conf) when is_list(Conf) ->
try
try foo({'div',{1,0}})
catch
- error:badarith ->
+ error:badarith:A0 ->
put(raise, A0 = erlang:get_stacktrace()),
erlang:raise(error, badarith, A0)
end
catch
- error:badarith ->
+ error:badarith:A1 ->
A1 = erlang:get_stacktrace(),
A1 = get(raise)
end,