summaryrefslogtreecommitdiff
path: root/test/net
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2022-01-17 15:10:27 +0900
committergit <svn-admin@ruby-lang.org>2022-01-17 17:11:27 +0900
commit549af505c5587267d114dd5ffb816047e7f22b4f (patch)
tree157510677387121fa6c33858e33800b7ceaba943 /test/net
parentb4e362d444a8a9b5d629f32eeaa72293bcf7482d (diff)
downloadruby-549af505c5587267d114dd5ffb816047e7f22b4f.tar.gz
[ruby/net-http] Remove redundant MJIT condition
ref https://github.com/ruby/ruby/commit/da0f67c0383f57129c7a76255964b1ee739d8db8 https://github.com/ruby/net-http/commit/dbeb5f1c8f
Diffstat (limited to 'test/net')
-rw-r--r--test/net/http/test_httpresponse.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/net/http/test_httpresponse.rb b/test/net/http/test_httpresponse.rb
index 1a78907284..86a467ac19 100644
--- a/test/net/http/test_httpresponse.rb
+++ b/test/net/http/test_httpresponse.rb
@@ -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::MJIT) ? RubyVM::MJIT.enabled? : defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled?
+ if defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled?
omit 'too unstable with --jit-wait, and extending read_timeout did not help it'
end
IO.pipe do |r, w|