Permalink
Browse files

Return values changed ?

  • Loading branch information...
1 parent ad4d365 commit d90ea096a59c1e83faa438071c905d466751e2e3 @cstar cstar committed Apr 1, 2010
Showing with 4 additions and 4 deletions.
  1. +4 −4 test/erldis_tests.erl
@@ -50,10 +50,10 @@ list_test() ->
?assertEqual(ok, erldis:flushdb(Client)),
?assertEqual([], erldis:lrange(Client, <<"foo">>, 1, 2)),
- ok = erldis:rpush(Client, <<"a_list">>, <<"1">>),
- ok = erldis:rpush(Client, <<"a_list">>, <<"2">>),
- ok = erldis:rpush(Client, <<"a_list">>, <<"3">>),
- ok = erldis:rpush(Client, <<"a_list">>, <<"1">>),
+ erldis:rpush(Client, <<"a_list">>, <<"1">>),
+ erldis:rpush(Client, <<"a_list">>, <<"2">>),
+ erldis:rpush(Client, <<"a_list">>, <<"3">>),
+ erldis:rpush(Client, <<"a_list">>, <<"1">>),
?assertEqual(1, erldis:lrem(Client, <<"a_list">>, 1, <<"1">>)),
?assertEqual([<<"2">>, <<"3">>, <<"1">>], erldis:lrange(Client, <<"a_list">>, 0, 2)),
?assertEqual([<<"1">>, <<"2">>, <<"3">>], erldis:sort(Client, <<"a_list">>)),

0 comments on commit d90ea09

Please sign in to comment.