aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-10-01 06:13:19 -0700
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-10-01 06:13:19 -0700
commit997a16442f90f0a8a52246d21e65868b91703261 (patch)
tree860492d07e48cbc7a63cc80a035a66e080251e93
parent15125e092c2adc33dbec9005ae82a70fcae82572 (diff)
parent21051676fcd8c8044f6ea2269c59c05370846f34 (diff)
downloadrails-997a16442f90f0a8a52246d21e65868b91703261.tar.gz
rails-997a16442f90f0a8a52246d21e65868b91703261.tar.bz2
rails-997a16442f90f0a8a52246d21e65868b91703261.zip
Merge pull request #7813 from arunagw/warning_fixed_as
warning fixed: (...) interpreted as grouped expression
-rw-r--r--activesupport/test/caching_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/caching_test.rb b/activesupport/test/caching_test.rb
index 75540346c1..febf0eeeff 100644
--- a/activesupport/test/caching_test.rb
+++ b/activesupport/test/caching_test.rb
@@ -855,7 +855,7 @@ class CacheEntryTest < ActiveSupport::TestCase
value = "value" * 100
entry = ActiveSupport::Cache::Entry.new(value, :compress => true, :compress_threshold => 1)
assert_equal value, entry.value
- assert (value.bytesize > entry.size), "value is compressed"
+ assert(value.bytesize > entry.size, "value is compressed")
end
def test_non_compress_values