aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-03-07 15:23:22 +0100
committerBjörn Gustavsson <[email protected]>2016-03-07 15:23:22 +0100
commit204b6be5b5d9a641404ae6cdf67faf0a3f542a98 (patch)
treef602c5a338d20e7ffc265c3ef6860727692e4448
parenta8bb5326db16858b955d7fe00793f81d39723cee (diff)
downloadotp-204b6be5b5d9a641404ae6cdf67faf0a3f542a98.tar.gz
otp-204b6be5b5d9a641404ae6cdf67faf0a3f542a98.tar.bz2
otp-204b6be5b5d9a641404ae6cdf67faf0a3f542a98.zip
multi_load_SUITE: Clarify failure reasons
The failure reasons remained from a previous draft of the API.
-rw-r--r--lib/kernel/test/multi_load_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kernel/test/multi_load_SUITE.erl b/lib/kernel/test/multi_load_SUITE.erl
index f224624709..fa8877e117 100644
--- a/lib/kernel/test/multi_load_SUITE.erl
+++ b/lib/kernel/test/multi_load_SUITE.erl
@@ -362,9 +362,9 @@ atomic_load_error(Modules, ErrorInFinishLoading) ->
{B,B} ->
Errors;
{false,true} ->
- ct:fail("LastAction fun must not be called");
+ ct:fail("code:prepare_loading/1 should have failed");
{true,false} ->
- ct:fail("LastAction fun was not called")
+ ct:fail("code:prepare_loading/1 should have succeeded")
end.
is_loaded(Mod) ->