Skip to content

Commit

Permalink
failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
v0idpwn committed Jun 1, 2022
1 parent 29bb039 commit e4d5f0f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion apps/antidote_crdt/src/antidote_crdt_map_rr.erl
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,14 @@ multiple_ops_on_same_key_test() ->
]},
?assert(is_operation(Op)),
M3 = upd(Op, M2),
?assertEqual([{{a, antidote_crdt_set_rw}, [<<"b">>]}], value(M3)).
?assertEqual([{{a, antidote_crdt_set_rw}, [<<"b">>]}], value(M3)),
Op2 = {update, [
{{a, antidote_crdt_set_rw}, {remove, <<"c">>}},
{{a, antidote_crdt_set_rw}, {add, <<"c">>}}
]},
?assert(is_operation(Op)),
M4 = upd(Op2, M3),
?assertEqual([{{a, antidote_crdt_set_rw}, [<<"b">>, <<"c">>]}], value(M4)).

remove_test() ->
M1 = new(),
Expand Down

0 comments on commit e4d5f0f

Please sign in to comment.