Browse files

Fix test for windows. Patch by usa from ruby trunk r32670

  • Loading branch information...
1 parent e16aae7 commit 58420810eab636f9a84223e4b27d3c1868a3ed44 @drbrain drbrain committed Aug 4, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 test/test_rake_directory_task.rb
View
3 test/test_rake_directory_task.rb
@@ -29,8 +29,9 @@ def test_directory
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

0 comments on commit 5842081

Please sign in to comment.