aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/test
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2018-06-07 11:47:05 +0200
committerSiri Hansen <[email protected]>2018-06-08 14:48:14 +0200
commitf20c281be6fa27e2da1c543a64029531c5f00325 (patch)
tree531da0cc6860757a7fce868a2b4b484b5c685055 /lib/stdlib/test
parent7f6e61ca0d752c780ffadd7aacf29aaab0783c78 (diff)
downloadotp-f20c281be6fa27e2da1c543a64029531c5f00325.tar.gz
otp-f20c281be6fa27e2da1c543a64029531c5f00325.tar.bz2
otp-f20c281be6fa27e2da1c543a64029531c5f00325.zip
[logger] Update return values from get_handler_config/0,1 and get_config/0
Module and Id are now always included as fields in Config, so these are no longer returned as separate elements.
Diffstat (limited to 'lib/stdlib/test')
-rw-r--r--lib/stdlib/test/proc_lib_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stdlib/test/proc_lib_SUITE.erl b/lib/stdlib/test/proc_lib_SUITE.erl
index 39fee8a0a4..a283aa992f 100644
--- a/lib/stdlib/test/proc_lib_SUITE.erl
+++ b/lib/stdlib/test/proc_lib_SUITE.erl
@@ -542,7 +542,7 @@ system_terminate(Reason,_Parent,_Deb,_State) ->
t_format(_Config) ->
- {ok,{_,#{level:=Level}}} = logger:get_handler_config(default),
+ {ok,#{level:=Level}} = logger:get_handler_config(default),
logger:set_handler_config(default,level,none),
error_logger:add_report_handler(?MODULE, self()),
try
@@ -586,7 +586,7 @@ t_format() ->
ok.
t_format_arbitrary(_Config) ->
- {ok,{_,#{level:=Level}}} = logger:get_handler_config(default),
+ {ok,#{level:=Level}} = logger:get_handler_config(default),
logger:set_handler_config(default,level,none),
try
t_format_arbitrary()