mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	Update to ruby/spec@f8a2d54
This commit is contained in:
		
							parent
							
								
									ed377cc9aa
								
							
						
					
					
						commit
						809f0b8a13
					
				
					 76 changed files with 2451 additions and 224 deletions
				
			
		| 
						 | 
				
			
			@ -111,7 +111,7 @@ describe "Kernel#warn" do
 | 
			
		|||
        -> { w.f4(obj, 2) }.should output(nil, %r|core/kernel/fixtures/classes.rb:#{w.f2_call_lineno}: warning: to_s called|)
 | 
			
		||||
      end
 | 
			
		||||
 | 
			
		||||
      it "does not prepend caller information if line number is too big" do
 | 
			
		||||
      it "does not prepend caller information if the uplevel argument is too large" do
 | 
			
		||||
        w = KernelSpecs::WarnInNestedCall.new
 | 
			
		||||
        -> { w.f4("foo", 100) }.should output(nil, "warning: foo\n")
 | 
			
		||||
      end
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue