aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/nif_SUITE.erl
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2018-03-23 08:19:12 +0100
committerJohn Högberg <[email protected]>2018-03-23 08:19:12 +0100
commitbf7206f13aae8d55e4d54320a179e11ad8f90765 (patch)
treede212a221a5bb2bfeb04261ee5322d4f9f310f03 /erts/emulator/test/nif_SUITE.erl
parent7c2672e614883d8f0eac7559a59d0373ec92af69 (diff)
parent187564ffccee4a3b5727bdab3df2458f3b5ced72 (diff)
downloadotp-bf7206f13aae8d55e4d54320a179e11ad8f90765.tar.gz
otp-bf7206f13aae8d55e4d54320a179e11ad8f90765.tar.bz2
otp-bf7206f13aae8d55e4d54320a179e11ad8f90765.zip
Merge branch 'john/erts/nif-map-from-array/OTP-14954'
* john/erts/nif-map-from-array/OTP-14954: Add enif_make_map_from_arrays
Diffstat (limited to 'erts/emulator/test/nif_SUITE.erl')
-rw-r--r--erts/emulator/test/nif_SUITE.erl6
1 files changed, 6 insertions, 0 deletions
diff --git a/erts/emulator/test/nif_SUITE.erl b/erts/emulator/test/nif_SUITE.erl
index b6e15ababb..a9eb4b2768 100644
--- a/erts/emulator/test/nif_SUITE.erl
+++ b/erts/emulator/test/nif_SUITE.erl
@@ -1170,6 +1170,12 @@ maps(Config) when is_list(Config) ->
{1, M2} = make_map_remove_nif(M2, "key3"),
{0, undefined} = make_map_remove_nif(self(), key),
+ M1 = maps_from_list_nif(maps:to_list(M1)),
+ M2 = maps_from_list_nif(maps:to_list(M2)),
+ M3 = maps_from_list_nif(maps:to_list(M3)),
+
+ has_duplicate_keys = maps_from_list_nif([{1,1},{1,1}]),
+
verify_tmpmem(TmpMem),
ok.