1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

test_fileutils.rb: fix test

* test/fileutils/test_fileutils.rb (test_chown_error): splat uids.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2013-12-24 15:36:29 +00:00
parent 7e2269a9ce
commit e4d63b4fef

View file

@ -1123,7 +1123,7 @@ class TestFileUtils < Test::Unit::TestCase
if have_file_perm?
def test_chown_error
uid = distinct_uids(1)
uid, = distinct_uids(1)
return unless uid
touch 'tmp/a'