aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2015-03-03 11:06:00 +0100
committerBjörn-Egil Dahlberg <[email protected]>2015-03-12 19:15:31 +0100
commit7e859457ef60483f6f99a0506e8abf65abcc06ef (patch)
treefd79f248fc8d9852f62de4156ccd5e0c857ef6be
parent3697ee925251edfe7a7ac2ed483039f414830012 (diff)
downloadotp-7e859457ef60483f6f99a0506e8abf65abcc06ef.tar.gz
otp-7e859457ef60483f6f99a0506e8abf65abcc06ef.tar.bz2
otp-7e859457ef60483f6f99a0506e8abf65abcc06ef.zip
compiler: Fix map_SUITE:t_map_sort_literal for new map compare order
where key 1 is less than key 1.0
-rw-r--r--lib/compiler/test/map_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compiler/test/map_SUITE.erl b/lib/compiler/test/map_SUITE.erl
index cfa8262701..1c9574c2a2 100644
--- a/lib/compiler/test/map_SUITE.erl
+++ b/lib/compiler/test/map_SUITE.erl
@@ -543,7 +543,7 @@ t_map_sort_literals(Config) when is_list(Config) ->
true = id(#{ c => 1, b => 1, a => 1 }) < id(#{ b => 1, c => 1, d => 1}),
true = id(#{ "a" => 1 }) < id(#{ <<"a">> => 1}),
false = id(#{ <<"a">> => 1 }) < id(#{ "a" => 1}),
- false = id(#{ 1 => 1 }) < id(#{ 1.0 => 1}),
+ true = id(#{ 1 => 1 }) < id(#{ 1.0 => 1}),
false = id(#{ 1.0 => 1 }) < id(#{ 1 => 1}),
%% value order