Skip to content
Browse files

Add test which exposes that deserialize() is broken.

  • Loading branch information...
1 parent a492bb3 commit 03c4b43b184b00e02797b2944d9e47eab20ff451 @eriksoe eriksoe committed Jan 6, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/ebloom.erl
View
3 src/ebloom.erl
@@ -171,7 +171,8 @@ serialize_test() ->
insert(Ref, <<"abcdef">>),
Bin3 = serialize(Ref),
{ok, Ref3} = deserialize(Bin3),
- true = contains(Ref3, <<"abcdef">>).
+ true = contains(Ref3, <<"abcdef">>),
+ false = contains(Ref3, <<"rstuvw">>).
clear_test() ->
{ok, Ref} = new(5, 0.01, 123),

0 comments on commit 03c4b43

Please sign in to comment.
Something went wrong with that request. Please try again.