aboutsummaryrefslogtreecommitdiffstats
path: root/test/fileutils
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-11 04:22:34 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-11 04:22:34 +0000
commit5543a55b5261bf1c72b9bc356c2f84b14e4e6231 (patch)
treec7a972e1ee2ac36e44a5c419a43146d2729bf2da /test/fileutils
parentaf59443ab6d5c06648e47d5ff58eedd28239339a (diff)
downloadruby-5543a55b5261bf1c72b9bc356c2f84b14e4e6231.tar.gz
* test: get rid of warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/fileutils')
-rw-r--r--test/fileutils/test_fileutils.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fileutils/test_fileutils.rb b/test/fileutils/test_fileutils.rb
index b733488cf8..0834187b95 100644
--- a/test/fileutils/test_fileutils.rb
+++ b/test/fileutils/test_fileutils.rb
@@ -1093,7 +1093,7 @@ class TestFileUtils < Test::Unit::TestCase
assert_output_lines([]) {
touch 'tmp/b'
# string input for group, -1 for user
- chown -1, input_group_2, 'tmp/b'
+ chown(-1, input_group_2, 'tmp/b')
assert_ownership_group @groups[1], 'tmp/b'
}
end if have_file_perm?