mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	remove spaces to pass a test.
23d7f4c5e1 breaks a test which expect
to match error message. To avoid this failure, use #strip for expect
and actual results.
			
			
This commit is contained in:
		
							parent
							
								
									23d7f4c5e1
								
							
						
					
					
						commit
						56faa13a1c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -12,7 +12,7 @@ class VerboseFormatterTest < Test::Unit::TestCase
 | 
			
		|||
  def test_message
 | 
			
		||||
    @error = assert_raise(NoMethodError){ 1.zeor? }
 | 
			
		||||
 | 
			
		||||
    assert_equal <<~MESSAGE.chomp, @error.message
 | 
			
		||||
    assert_equal <<~MESSAGE.strip, @error.message.strip
 | 
			
		||||
      undefined method `zeor?' for 1:Integer
 | 
			
		||||
 | 
			
		||||
          Did you mean? zero?
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue