diff options
author | Björn-Egil Dahlberg <[email protected]> | 2015-02-26 17:06:52 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2015-03-12 19:15:29 +0100 |
commit | 9f3f98bb7e75a00cc9eb4fc32b7839fa6fbedd3d (patch) | |
tree | 078ce005a939e1ce51be87567382bb3fcb653b66 /erts/emulator/test/map_SUITE.erl | |
parent | 6507ec20f00acac025252bf7b7609eee1f593a84 (diff) | |
download | otp-9f3f98bb7e75a00cc9eb4fc32b7839fa6fbedd3d.tar.gz otp-9f3f98bb7e75a00cc9eb4fc32b7839fa6fbedd3d.tar.bz2 otp-9f3f98bb7e75a00cc9eb4fc32b7839fa6fbedd3d.zip |
erts: Update build_and_check maps testcase
Diffstat (limited to 'erts/emulator/test/map_SUITE.erl')
-rw-r--r-- | erts/emulator/test/map_SUITE.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/test/map_SUITE.erl b/erts/emulator/test/map_SUITE.erl index 17a05d9bfc..1962ce6a57 100644 --- a/erts/emulator/test/map_SUITE.erl +++ b/erts/emulator/test/map_SUITE.erl @@ -1238,6 +1238,8 @@ build_and_check(N, M0, F, Ks) -> K = build_key(F,N), M1 = maps:put(K,K,M0), ok = check_keys_exist([K|Ks], M1), + M2 = maps:update(K,v,M1), + v = maps:get(K,M2), build_and_check(N-1,M1,F,[K|Ks]). remove_and_check([],_) -> ok; |