aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/test/code_SUITE.erl
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2015-05-28 15:43:05 +0200
committerBjörn-Egil Dahlberg <[email protected]>2015-05-28 15:43:05 +0200
commit6fe0fae81adf2f6a222dccb3222309e205c6ffdc (patch)
treea6d4e2c6cd7ec700f890dc47a5febeb03ff29498 /lib/kernel/test/code_SUITE.erl
parent2925fbba49237ff6b6e2691f52c4afb2c0447e46 (diff)
parent09b461e9c851abfaf7e1d697232e3af3ddedce9f (diff)
downloadotp-6fe0fae81adf2f6a222dccb3222309e205c6ffdc.tar.gz
otp-6fe0fae81adf2f6a222dccb3222309e205c6ffdc.tar.bz2
otp-6fe0fae81adf2f6a222dccb3222309e205c6ffdc.zip
Merge branch 'richcarl/warnings-by-default/OTP-12781'
* richcarl/warnings-by-default/OTP-12781: stdlib: Use warning channel in test qlc_SUITE:otp_6964/1 stdlib: Fix testcase for qlc_SUITE kernel: Fix code_SUITE with respect to new logger default Map error logger warnings to warning messages by default
Diffstat (limited to 'lib/kernel/test/code_SUITE.erl')
-rw-r--r--lib/kernel/test/code_SUITE.erl4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/kernel/test/code_SUITE.erl b/lib/kernel/test/code_SUITE.erl
index 549c65d034..c82aaf0582 100644
--- a/lib/kernel/test/code_SUITE.erl
+++ b/lib/kernel/test/code_SUITE.erl
@@ -1654,9 +1654,7 @@ get_mode(Config) when is_list(Config) ->
init(Tester) ->
{ok, Tester}.
-handle_event({error, _GL, {emulator, _, _}}, Tester) ->
- {ok, Tester};
-handle_event({error, _GL, Msg}, Tester) ->
+handle_event({warning_msg, _GL, Msg}, Tester) ->
Tester ! Msg,
{ok, Tester};
handle_event(_Event, State) ->