diff options
author | Björn Gustavsson <[email protected]> | 2016-11-02 12:35:07 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-11-02 12:35:07 +0100 |
commit | 5fe36fac74630bcb25558efbd98e6a6ca5f02f5a (patch) | |
tree | 73ecf2a621fbcdd5f280164b11e86f74b68ee64d /lib/stdlib/test/gen_statem_SUITE.erl | |
parent | 1b205afda0a88e7740d6187990ab35562e9a48c4 (diff) | |
parent | 798f09de48b1a7abe43d54d6fa0377ad15c3f6aa (diff) | |
download | otp-5fe36fac74630bcb25558efbd98e6a6ca5f02f5a.tar.gz otp-5fe36fac74630bcb25558efbd98e6a6ca5f02f5a.tar.bz2 otp-5fe36fac74630bcb25558efbd98e6a6ca5f02f5a.zip |
Merge branch 'essen/stdlib/proc_lib-propagate-exceptions/PR-1088/OTP-14001'
* essen/stdlib/proc_lib-propagate-exceptions/PR-1088/OTP-14001:
Propagate exceptions fully when using proc_lib
Diffstat (limited to 'lib/stdlib/test/gen_statem_SUITE.erl')
-rw-r--r-- | lib/stdlib/test/gen_statem_SUITE.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/stdlib/test/gen_statem_SUITE.erl b/lib/stdlib/test/gen_statem_SUITE.erl index 28f9ab81fe..300baaf1c6 100644 --- a/lib/stdlib/test/gen_statem_SUITE.erl +++ b/lib/stdlib/test/gen_statem_SUITE.erl @@ -505,10 +505,10 @@ abnormal2(Config) -> {ok,Pid} = gen_statem:start_link(?MODULE, start_arg(Config, []), []), %% bad return value in the gen_statem loop - {{bad_return_from_state_function,badreturn},_} = + {{{bad_return_from_state_function,badreturn},_},_} = ?EXPECT_FAILURE(gen_statem:call(Pid, badreturn), Reason), receive - {'EXIT',Pid,{bad_return_from_state_function,badreturn}} -> ok + {'EXIT',Pid,{{bad_return_from_state_function,badreturn},_}} -> ok after 5000 -> ct:fail(gen_statem_did_not_die) end, @@ -887,7 +887,7 @@ error_format_status(Config) -> gen_statem:start( ?MODULE, start_arg(Config, {data,Data}), []), %% bad return value in the gen_statem loop - {{bad_return_from_state_function,badreturn},_} = + {{{bad_return_from_state_function,badreturn},_},_} = ?EXPECT_FAILURE(gen_statem:call(Pid, badreturn), Reason), receive {error,_, |