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
				
			
		| 
						 | 
				
			
			@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue