Skip to content

Commit

Permalink
Add tests for checking multibulk queries against empty strings
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsta committed May 31, 2010
1 parent a8a0948 commit 10b70c8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/er_tests.erl
Expand Up @@ -211,7 +211,11 @@ er_hashes_commands_test_() ->
?_E([<<"fieldA">>, <<"valueA1">>,
<<"fieldB">>, <<"valueB">>,
<<"fieldC">>, <<"valueC">>],
er:hgetall(C, hashA))
er:hgetall(C, hashA)),
?_E(ok, er:hmset(C, hashHasEmpty, [fieldA, valA, fieldB, <<"">>])),
?_E([<<"fieldA">>, <<"valA">>,
<<"fieldB">>, <<"">>],
er:hgetall(C, hashHasEmpty))
]
end
}.
Expand Down

0 comments on commit 10b70c8

Please sign in to comment.