summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-12 13:33:08 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-12 13:33:08 +0000
commitcc6f54760fd113a272b1cee6e53ce1252d90f243 (patch)
tree6199da5ab84010b80fe90cd1b1d8db07b38870f7 /test
parent96912c920c424583977b9d1c80002d7ab41cd4a7 (diff)
merges r21447 from trunk into ruby_1_9_1.
* 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_file_exhaustive.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_file_exhaustive.rb b/test/ruby/test_file_exhaustive.rb
index eda366968..420b3d527 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