test/cache_test.rb in lru_redux-0.0.3 vs test/cache_test.rb in lru_redux-0.0.4
- old
+ new
@@ -72,9 +72,9 @@
def test_shrink
@c[:a] = 1
@c[:b] = 2
@c[:c] = 3
- @c.max_size = 2
- assert_equal [[:c,3],[:b,2]], @c.to_a
+ @c.max_size = 1
+ assert_equal [[:c,3]], @c.to_a
end
end