mirror of
				https://github.com/sinatra/sinatra
				synced 2023-03-27 23:18:01 -04:00 
			
		
		
		
	Remove trailing whitespaces
This commit is contained in:
		
							parent
							
								
									762967f8aa
								
							
						
					
					
						commit
						498bad9105
					
				
					 16 changed files with 66 additions and 66 deletions
				
			
		| 
						 | 
				
			
			@ -47,13 +47,13 @@ class RouteAddedHookTest < Test::Unit::TestCase
 | 
			
		|||
    assert_equal [["GET", "/"], ["HEAD", "/"]],
 | 
			
		||||
      RouteAddedTest.routes
 | 
			
		||||
  end
 | 
			
		||||
  
 | 
			
		||||
 | 
			
		||||
  it "should pass route blocks as an argument" do
 | 
			
		||||
    mock_app(Class.new(Sinatra::Base)) do
 | 
			
		||||
      register RouteAddedTest
 | 
			
		||||
      get('/') {}
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
    assert_kind_of Proc, RouteAddedTest.procs.first    
 | 
			
		||||
    assert_kind_of Proc, RouteAddedTest.procs.first
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue