aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorArun Agrawal <arunagw@gmail.com>2012-10-01 16:20:36 +0530
committerArun Agrawal <arunagw@gmail.com>2012-10-01 18:25:19 +0530
commit21051676fcd8c8044f6ea2269c59c05370846f34 (patch)
tree860492d07e48cbc7a63cc80a035a66e080251e93 /activesupport
parent15125e092c2adc33dbec9005ae82a70fcae82572 (diff)
downloadrails-21051676fcd8c8044f6ea2269c59c05370846f34.tar.gz
rails-21051676fcd8c8044f6ea2269c59c05370846f34.tar.bz2
rails-21051676fcd8c8044f6ea2269c59c05370846f34.zip
warning fixed: (...) interpreted as grouped expression
Diffstat (limited to 'activesupport')
-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