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

add description of test in comment

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kazu 2013-06-05 11:53:02 +00:00
parent 27e92c6649
commit 4a97761c1a

View file

@ -1227,6 +1227,9 @@ class TestFileUtils
Dir.rmdir '/'
rescue => e
assert_raise(e.class) {
# Dir.rmdir('') raises Errno::ENOENT.
# FileUtils#rmdir ignores it.
# And this test failed as expected.
rmdir '/'
}
end