зеркало из https://github.com/github/ruby.git
* 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:
Родитель
9a27239558
Коммит
71ff558ed0
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче