mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	Fix test to avoid failure from the order of Dir.foreach
The order of Dir.foreach, which is internally used in Pathname), is not stable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									94b57518b1
								
							
						
					
					
						commit
						5688e811bd
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -61,7 +61,7 @@ Removed file specifications/c-2.gemspec
 | 
			
		|||
 | 
			
		||||
    OUTPUT
 | 
			
		||||
 | 
			
		||||
    assert_equal expected, @ui.output
 | 
			
		||||
    assert_equal expected.lines.sort, @ui.output.lines.sort
 | 
			
		||||
 | 
			
		||||
    assert_equal Gem.dir,  @userhome
 | 
			
		||||
    assert_equal Gem.path, [@gemhome, @userhome]
 | 
			
		||||
| 
						 | 
				
			
			@ -114,7 +114,7 @@ Extra file specifications/c-2.gemspec
 | 
			
		|||
 | 
			
		||||
    OUTPUT
 | 
			
		||||
 | 
			
		||||
    assert_equal expected, @ui.output
 | 
			
		||||
    assert_equal expected.lines.sort, @ui.output.lines.sort
 | 
			
		||||
 | 
			
		||||
    assert_equal Gem.dir,  @userhome
 | 
			
		||||
    assert_equal Gem.path, [@gemhome, @userhome]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue