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:
parent
27e92c6649
commit
4a97761c1a
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue