mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	Fix a warning
``` .../ruby/test/net/http/test_httpresponse.rb:81: warning: constant RubyVM::MJIT is deprecated ```
This commit is contained in:
		
							parent
							
								
									a55eb9a2af
								
							
						
					
					
						commit
						9de68a5221
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -78,7 +78,7 @@ EOS
 | 
			
		|||
 | 
			
		||||
  def test_read_body_block_mod
 | 
			
		||||
    # http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/3019353
 | 
			
		||||
    if defined?(RubyVM::JIT) && RubyVM::JIT.enabled? || defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled?
 | 
			
		||||
    if defined?(RubyVM::JIT) ? RubyVM::JIT.enabled? : defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled?
 | 
			
		||||
      skip 'too unstable with --jit-wait, and extending read_timeout did not help it'
 | 
			
		||||
    end
 | 
			
		||||
    IO.pipe do |r, w|
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue