summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-04-24 08:47:29 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-04-24 08:47:29 +0000
commit25ae5cc39bf2afdc67906728dbed092813920520 (patch)
treecff8955039b2db78fc650f4edf44a9b01ad1a75d /test
parentf83d51d81457563830234086082373e1f324602f (diff)
suppress warnings: ambiguous first argument; put parentheses or even spaces
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_file.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/ruby/test_file.rb b/test/ruby/test_file.rb
index 2767263e07..7410652537 100644
--- a/test/ruby/test_file.rb
+++ b/test/ruby/test_file.rb
@@ -401,10 +401,10 @@ class TestFile < Test::Unit::TestCase
rescue NotImplementedError
end
s = st.inspect
- assert_match /\A\#<File::Statfs\b.*>\z/, s
- assert_match /\bbsize=\d+\b/, s
- assert_match /\bblocks=(?:\d+[,>\/])+\b/, s
- assert_match /\bfiles=(?:\d+[,>\/])+\b/, s
+ assert_match(/\A\#<File::Statfs\b.*>\z/, s)
+ assert_match(/\bbsize=\d+\b/, s)
+ assert_match(/\bblocks=(?:\d+[,>\/])+\b/, s)
+ assert_match(/\bfiles=(?:\d+[,>\/])+\b/, s)
end
end
end