Skip to content

Commit

Permalink
Merge pull request #7805 from steveklabnik/fix_assertion_order
Browse files Browse the repository at this point in the history
fix order of assertions.
  • Loading branch information
fxn committed Sep 30, 2012
2 parents 3b97f6d + 06d173b commit 80f14d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions activesupport/test/caching_test.rb
Expand Up @@ -635,9 +635,9 @@ def test_prune_size
@cache.prune(@record_size * 3)
assert @cache.exist?(5)
assert @cache.exist?(4)
assert "no entry", !@cache.exist?(3)
assert !@cache.exist?(3), "no entry"
assert @cache.exist?(2)
assert "no entry", !@cache.exist?(1)
assert !@cache.exist?(1), "no entry"
end

def test_prune_size_on_write
Expand Down

0 comments on commit 80f14d0

Please sign in to comment.