diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-17 22:08:32 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-17 22:08:32 +0000 |
commit | f6469e8d86dc70849b15d11f3282ffc4a891913c (patch) | |
tree | 0ba31e43a49ea2859370c4269ac428917daa2b5c /test/fileutils | |
parent | 4f8b092848020367ef5b1e9963231b3501cda249 (diff) | |
download | ruby-f6469e8d86dc70849b15d11f3282ffc4a891913c.tar.gz ruby-f6469e8d86dc70849b15d11f3282ffc4a891913c.tar.xz ruby-f6469e8d86dc70849b15d11f3282ffc4a891913c.zip |
* test/fileutils/test_fileutils.rb: add a test for [ruby-dev:39345]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/fileutils')
-rw-r--r-- | test/fileutils/test_fileutils.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/fileutils/test_fileutils.rb b/test/fileutils/test_fileutils.rb index 69bc51f7a..2e04dc123 100644 --- a/test/fileutils/test_fileutils.rb +++ b/test/fileutils/test_fileutils.rb @@ -440,6 +440,11 @@ end assert_file_not_exist 'tmp/rmtmp2' assert_file_not_exist 'tmp/rmtmp3' assert_file_exist 'tmp/rmtmp4' + + # [ruby-dev:39345] + touch 'tmp/[rmtmp]' + rm_f 'tmp/[rmtmp]' + assert_file_not_exist 'tmp/[rmtmp]' end def test_rm_r |