mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	Clean warnings: unused variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									d514cd3ca0
								
							
						
					
					
						commit
						0de2d84af8
					
				
					 9 changed files with 12 additions and 17 deletions
				
			
		| 
						 | 
				
			
			@ -4,7 +4,7 @@ require_relative 'ruby/envutil'
 | 
			
		|||
# mathn redefines too much. It must be isolated to child processes.
 | 
			
		||||
class TestMathn < Test::Unit::TestCase
 | 
			
		||||
  def test_power
 | 
			
		||||
    assert_in_out_err ['-r', 'mathn', '-e', 'a=1**2'], "", [], [], '[ruby-core:25740]'
 | 
			
		||||
    assert_in_out_err ['-r', 'mathn', '-e', 'a=(1<<126)**2'], "", [], [], '[ruby-core:25740]'
 | 
			
		||||
    assert_in_out_err ['-r', 'mathn', '-e', 'a=1**2;!a'], "", [], [], '[ruby-core:25740]'
 | 
			
		||||
    assert_in_out_err ['-r', 'mathn', '-e', 'a=(1<<126)**2;!a'], "", [], [], '[ruby-core:25740]'
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue