Skip to content

Commit

Permalink
Merge pull request rails#5679 from arunagw/warning_removed_master
Browse files Browse the repository at this point in the history
warning removed: (...) interpreted as grouped expression
  • Loading branch information
vijaydev committed Mar 31, 2012
2 parents 3e75acb + 40c38d9 commit 267d617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activesupport/test/caching_test.rb
Expand Up @@ -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

Expand Down

0 comments on commit 267d617

Please sign in to comment.