aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2018-06-11 15:52:47 +0200
committerSiri Hansen <[email protected]>2018-06-12 14:07:57 +0200
commit6154d847b67f726f0a459d24bc8128578b1f79f9 (patch)
tree06cba97a950d84f39a6ae362aaa82dc6efd60129 /lib/kernel
parent42f0d79cf02b4d74508bd4fdeac95574ae811949 (diff)
downloadotp-6154d847b67f726f0a459d24bc8128578b1f79f9.tar.gz
otp-6154d847b67f726f0a459d24bc8128578b1f79f9.tar.bz2
otp-6154d847b67f726f0a459d24bc8128578b1f79f9.zip
[logger] Sort keys when testing formatter template
Diffstat (limited to 'lib/kernel')
-rw-r--r--lib/kernel/test/logger_formatter_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/test/logger_formatter_SUITE.erl b/lib/kernel/test/logger_formatter_SUITE.erl
index 864a40b618..8fe8d5199b 100644
--- a/lib/kernel/test/logger_formatter_SUITE.erl
+++ b/lib/kernel/test/logger_formatter_SUITE.erl
@@ -208,7 +208,7 @@ template(_Config) ->
time=>Time,
tuple=>{1,atom,"list"},
nested=>#{subkey=>subvalue}},
- Template6 = lists:join(";",maps:keys(maps:remove(nested,Meta6)) ++
+ Template6 = lists:join(";",lists:sort(maps:keys(maps:remove(nested,Meta6))) ++
[[nested,subkey]]),
String6 = format(info,{"~p",[term]},Meta6,#{template=>Template6,
single_line=>true}),