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:
parent
7e2269a9ce
commit
e4d63b4fef
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue