diff options
Diffstat (limited to 'test/ruby/test_file.rb')
-rw-r--r-- | test/ruby/test_file.rb | 8 |
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 |