From 363ed27fa7a9f95111e2dfa0df8ae120cfc95d8d Mon Sep 17 00:00:00 2001 From: akr Date: Wed, 15 Sep 2010 12:07:43 +0000 Subject: * 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 --- test/pathname/test_pathname.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/pathname/test_pathname.rb') 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 -- cgit v1.2.3