Browse files

Merge pull request #5679 from arunagw/warning_removed_master

warning removed: (...) interpreted as grouped expression
  • Loading branch information...
2 parents 3e75acb + 40c38d9 commit 267d61794f8e834dc6f36d0545dc00aa4b54c98a @vijaydev vijaydev committed Mar 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/test/caching_test.rb
View
2 activesupport/test/caching_test.rb
@@ -585,7 +585,7 @@ def test_filename_max_size
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

0 comments on commit 267d617

Please sign in to comment.