mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	Removed trailing spaces [ci skip]
This commit is contained in:
		
							parent
							
								
									0e3b0fcdba
								
							
						
					
					
						commit
						634eeb4353
					
				
					 3 changed files with 5 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -16,7 +16,7 @@ class TestCSVTable < Test::Unit::TestCase
 | 
			
		|||
    @header_table = CSV::Table.new(
 | 
			
		||||
      [CSV::Row.new(%w{A B C}, %w{A B C}, true)] + @rows
 | 
			
		||||
    )
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    @header_only_table = CSV::Table.new([], headers: %w{A B C})
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -52,13 +52,13 @@ class TestStack < Test::Unit::TestCase
 | 
			
		|||
 | 
			
		||||
  def test_vm_stack_size
 | 
			
		||||
    script = '$stdout.sync=true; def rec; print "."; rec; end; Fiber.new{rec}.resume'
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    size_default = invoke_ruby(script).bytesize
 | 
			
		||||
    assert_operator(size_default, :>, 0)
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    size_0 = invoke_ruby(script, vm_stack_size: 0).bytesize
 | 
			
		||||
    assert_operator(size_default, :>, size_0)
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    size_large = invoke_ruby(script, vm_stack_size: LARGE_VM_STACK_SIZE).bytesize
 | 
			
		||||
    assert_operator(size_default, :<, size_large)
 | 
			
		||||
  end
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -36,7 +36,7 @@ class TestSchedulerMutex < Test::Unit::TestCase
 | 
			
		|||
          Fiber.yield
 | 
			
		||||
        end
 | 
			
		||||
      end
 | 
			
		||||
      
 | 
			
		||||
 | 
			
		||||
      assert_raise ThreadError do
 | 
			
		||||
        mutex.lock
 | 
			
		||||
      end
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue