aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2013-12-16 18:01:58 +0100
committerBjörn-Egil Dahlberg <[email protected]>2014-01-28 15:56:30 +0100
commit9344e8ccf846af62576657244e3d526f88fdeb0f (patch)
treea7f6b0e3b94f09d759081db4f70047f7f51a0c39 /erts
parentab54731c41f28a21bce526249e582b56106d4965 (diff)
downloadotp-9344e8ccf846af62576657244e3d526f88fdeb0f.tar.gz
otp-9344e8ccf846af62576657244e3d526f88fdeb0f.tar.bz2
otp-9344e8ccf846af62576657244e3d526f88fdeb0f.zip
erts: Update Maps erlang:phash2/1 tests
Diffstat (limited to 'erts')
-rw-r--r--erts/emulator/test/map_SUITE.erl20
1 files changed, 10 insertions, 10 deletions
diff --git a/erts/emulator/test/map_SUITE.erl b/erts/emulator/test/map_SUITE.erl
index 70b5c33fb2..1f4476defa 100644
--- a/erts/emulator/test/map_SUITE.erl
+++ b/erts/emulator/test/map_SUITE.erl
@@ -584,22 +584,22 @@ t_erlang_hash(Config) when is_list(Config) ->
t_bif_erlang_phash2() ->
- 39679005 = erlang:phash2(#{}),
- 106033788 = erlang:phash2(#{ a => 1, "a" => 2, <<"a">> => 3, {a,b} => 4 }),
- 119861073 = erlang:phash2(#{ 1 => a, 2 => "a", 3 => <<"a">>, 4 => {a,b} }),
- 87559846 = erlang:phash2(#{ 1 => a }),
- 76038729 = erlang:phash2(#{ a => 1 }),
+ 39679005 = erlang:phash2(#{}),
+ 78942764 = erlang:phash2(#{ a => 1, "a" => 2, <<"a">> => 3, {a,b} => 4 }),
+ 37338230 = erlang:phash2(#{ 1 => a, 2 => "a", 3 => <<"a">>, 4 => {a,b} }),
+ 14363616 = erlang:phash2(#{ 1 => a }),
+ 51612236 = erlang:phash2(#{ a => 1 }),
- 79950245 = erlang:phash2(#{{} => <<>>}),
- 11244490 = erlang:phash2(#{<<>> => {}}),
+ 37468437 = erlang:phash2(#{{} => <<>>}),
+ 44049159 = erlang:phash2(#{<<>> => {}}),
M0 = #{ a => 1, "key" => <<"value">> },
M1 = map:remove("key",M0),
M2 = M1#{ "key" => <<"value">> },
- 67968757 = erlang:phash2(M0),
- 76038729 = erlang:phash2(M1),
- 67968757 = erlang:phash2(M2),
+ 118679416 = erlang:phash2(M0),
+ 51612236 = erlang:phash2(M1),
+ 118679416 = erlang:phash2(M2),
ok.
t_bif_erlang_phash() ->