diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-12 07:45:31 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-12 07:45:31 +0000 |
commit | 729b4a813b40c30ef7940f54ecb7759dbfb4b615 (patch) | |
tree | 1af687d21b41aa5d88f3edf58977bd49ece1a28c /test/ruby | |
parent | 7099360a6ccc8a7fd392acda11657847cf677c77 (diff) | |
download | ruby-729b4a813b40c30ef7940f54ecb7759dbfb4b615.tar.gz |
* win32/win32.c (open_dir_handle): extracted from rb_w32_opendir.
* win32/win32.c (winnt_stat): gets rid of strange behavior of
GetFileAttributes(). [ruby-core:21269]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_file_exhaustive.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_file_exhaustive.rb b/test/ruby/test_file_exhaustive.rb index eda3669681..420b3d527e 100644 --- a/test/ruby/test_file_exhaustive.rb +++ b/test/ruby/test_file_exhaustive.rb @@ -97,6 +97,7 @@ class TestFileExhaustive < Test::Unit::TestCase def test_directory_p assert(File.directory?(@dir)) + assert(!(File.directory?(@dir+"/..."))) assert(!(File.directory?(@file))) assert(!(File.directory?(@nofile))) end |