diff options
author | Björn Gustavsson <[email protected]> | 2016-03-07 15:23:22 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-03-07 15:23:22 +0100 |
commit | 204b6be5b5d9a641404ae6cdf67faf0a3f542a98 (patch) | |
tree | f602c5a338d20e7ffc265c3ef6860727692e4448 /lib/kernel/test | |
parent | a8bb5326db16858b955d7fe00793f81d39723cee (diff) | |
download | otp-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.
Diffstat (limited to 'lib/kernel/test')
-rw-r--r-- | lib/kernel/test/multi_load_SUITE.erl | 4 |
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) -> |