diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-03-31 10:04:41 -0700 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-03-31 10:04:41 -0700 |
commit | 267d61794f8e834dc6f36d0545dc00aa4b54c98a (patch) | |
tree | 63f5472a18098f3aad0293c8df1750ac48143e78 | |
parent | 3e75acbc4c263814fa690905cc48c4c15cc5cf5f (diff) | |
parent | 40c38d969c98f524cb48dbf501fb8b6950660e21 (diff) | |
download | rails-267d61794f8e834dc6f36d0545dc00aa4b54c98a.tar.gz rails-267d61794f8e834dc6f36d0545dc00aa4b54c98a.tar.bz2 rails-267d61794f8e834dc6f36d0545dc00aa4b54c98a.zip |
Merge pull request #5679 from arunagw/warning_removed_master
warning removed: (...) interpreted as grouped expression
-rw-r--r-- | activesupport/test/caching_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/caching_test.rb b/activesupport/test/caching_test.rb index 4371a02934..5365713e6e 100644 --- a/activesupport/test/caching_test.rb +++ b/activesupport/test/caching_test.rb @@ -585,7 +585,7 @@ class FileStoreTest < ActiveSupport::TestCase key = "#{'A' * ActiveSupport::Cache::FileStore::FILENAME_MAX_SIZE}" path = @cache.send(:key_file_path, key) Dir::Tmpname.create(path) do |tmpname, n, opts| - assert (File.basename(tmpname+'.lock').length <= 255), "Temp filename too long: #{File.basename(tmpname+'.lock').length}" + assert File.basename(tmpname+'.lock').length <= 255, "Temp filename too long: #{File.basename(tmpname+'.lock').length}" end end |