diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-01-25 23:12:50 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-01-25 23:12:50 +0000 |
commit | 37679ee584e409088a2f083594e3c4ccba486e13 (patch) | |
tree | ea8390a11414859640d50b21293a2190d99f73ce /test/ruby/test_file.rb | |
parent | a967f738c83b960f23f5b04403a17ca37f049e25 (diff) | |
download | ruby-37679ee584e409088a2f083594e3c4ccba486e13.tar.gz |
supress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_file.rb')
-rw-r--r-- | test/ruby/test_file.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_file.rb b/test/ruby/test_file.rb index b4666ad4a6..b8ba9a4b19 100644 --- a/test/ruby/test_file.rb +++ b/test/ruby/test_file.rb @@ -140,13 +140,13 @@ class TestFile < Test::Unit::TestCase end def test_s_chown - assert_nothing_raised { File.chown -1, -1 } + assert_nothing_raised { File.chown(-1, -1) } assert_nothing_raised { File.chown nil, nil } end def test_chown assert_nothing_raised { - File.open(__FILE__) {|f| f.chown -1, -1 } + File.open(__FILE__) {|f| f.chown(-1, -1) } } assert_nothing_raised("[ruby-dev:27140]") { File.open(__FILE__) {|f| f.chown nil, nil } |