Skip to content
Browse files

sort data when comparing in tests

  • Loading branch information...
1 parent 4288345 commit 8a08bd5322d197cd2ba4ee14c160bf5cc810aa8f @libc libc committed Aug 3, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/live_redis_protocol_spec.rb
View
2 spec/live_redis_protocol_spec.rb
@@ -417,7 +417,7 @@
should "be able to get keys selectively" do
@c.keys "a_*" do |r|
- r.should == ["a_sort", "a_data"]
+ r.should == ["a_sort", "a_data"].sort
done
end
end

0 comments on commit 8a08bd5

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