mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/rake/test_rake_directory_task.rb (TestRakeDirectoryTask#
test_directory_win32): fixed wrong test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9a27239558
commit
71ff558ed0
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Mon Jul 25 23:39:33 2011 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* test/rake/test_rake_directory_task.rb (TestRakeDirectoryTask#
|
||||
test_directory_win32): fixed wrong test.
|
||||
|
||||
Mon Jul 25 22:36:11 2011 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* proc.c (struct METHOD), gc.c (gc_marks), vm_method.c
|
||||
|
|
|
@ -29,8 +29,9 @@ class TestRakeDirectoryTask < Rake::TestCase
|
|||
def test_directory_win32
|
||||
desc "WIN32 DESC"
|
||||
directory 'c:/a/b/c'
|
||||
assert_equal FileCreationTask, Task['c:'].class
|
||||
assert_equal FileTask, Task['c:'].class
|
||||
assert_equal FileCreationTask, Task['c:/a'].class
|
||||
assert_equal FileCreationTask, Task['c:/a/b'].class
|
||||
assert_equal FileCreationTask, Task['c:/a/b/c'].class
|
||||
assert_nil Task['c:/'].comment
|
||||
assert_equal "WIN32 DESC", Task['c:/a/b/c'].comment
|
||||
|
|
Loading…
Reference in a new issue