diff options
author | Siri Hansen <[email protected]> | 2018-06-11 15:52:47 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2018-06-12 14:07:57 +0200 |
commit | 6154d847b67f726f0a459d24bc8128578b1f79f9 (patch) | |
tree | 06cba97a950d84f39a6ae362aaa82dc6efd60129 | |
parent | 42f0d79cf02b4d74508bd4fdeac95574ae811949 (diff) | |
download | otp-6154d847b67f726f0a459d24bc8128578b1f79f9.tar.gz otp-6154d847b67f726f0a459d24bc8128578b1f79f9.tar.bz2 otp-6154d847b67f726f0a459d24bc8128578b1f79f9.zip |
[logger] Sort keys when testing formatter template
-rw-r--r-- | lib/kernel/test/logger_formatter_SUITE.erl | 2 |
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}), |