aboutsummaryrefslogtreecommitdiffstats
path: root/test/pathname
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-09-15 12:07:43 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-09-15 12:07:43 +0000
commit363ed27fa7a9f95111e2dfa0df8ae120cfc95d8d (patch)
treea2866b17482662dec6c504439012c5f0472b99b4 /test/pathname
parentcc9b6ba611711aca1a124e6666b9a57c7dda9d2b (diff)
downloadruby-363ed27fa7a9f95111e2dfa0df8ae120cfc95d8d.tar.gz
* ext/pathname/pathname.c (path_mkdir): Pathname#mkdir translated
from pathname.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/pathname')
-rw-r--r--test/pathname/test_pathname.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/pathname/test_pathname.rb b/test/pathname/test_pathname.rb
index 5d22531885..ecd03d9288 100644
--- a/test/pathname/test_pathname.rb
+++ b/test/pathname/test_pathname.rb
@@ -1191,6 +1191,8 @@ class TestPathname < Test::Unit::TestCase
with_tmpchdir('rubytest-pathname') {|dir|
Pathname("d").mkdir
assert(File.directory?("d"))
+ Pathname("e").mkdir(0770)
+ assert(File.directory?("d"))
}
end