summaryrefslogtreecommitdiff
path: root/test/ruby/test_file.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_file.rb')
-rw-r--r--test/ruby/test_file.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_file.rb b/test/ruby/test_file.rb
index b4666ad..b8ba9a4 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 }