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

* test/fileutils/test_fileutils.rb (test_chown_dir_group_ownership_not_recursive):

fix typos on comment.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nagachika 2014-05-25 03:51:50 +00:00
parent 82f4c4d4d7
commit bafe3bf3da

View file

@ -1158,7 +1158,7 @@ class TestFileUtils < Test::Unit::TestCase
assert_ownership_group @groups[0], 'tmp/dir/a' assert_ownership_group @groups[0], 'tmp/dir/a'
chown nil, input_group_2, 'tmp/dir' chown nil, input_group_2, 'tmp/dir'
assert_ownership_group @groups[1], 'tmp/dir' assert_ownership_group @groups[1], 'tmp/dir'
# Make sure FileUtils.chmod does not chmod recursively # Make sure FileUtils.chown does not chown recursively
assert_ownership_group @groups[0], 'tmp/dir/a' assert_ownership_group @groups[0], 'tmp/dir/a'
} }
end end
@ -1265,7 +1265,7 @@ class TestFileUtils < Test::Unit::TestCase
assert_ownership_user uid_1, 'tmp/dir/a' assert_ownership_user uid_1, 'tmp/dir/a'
chown uid_2, nil, 'tmp/dir' chown uid_2, nil, 'tmp/dir'
assert_ownership_user uid_2, 'tmp/dir' assert_ownership_user uid_2, 'tmp/dir'
# Make sure FileUtils.chmod does not chmod recursively # Make sure FileUtils.chown does not chown recursively
assert_ownership_user uid_1, 'tmp/dir/a' assert_ownership_user uid_1, 'tmp/dir/a'
} }
end end