ruby-changes:63072
From: Jeremy <ko1@a...>
Date: Thu, 24 Sep 2020 21:42:28 +0900 (JST)
Subject: [ruby-changes:63072] c12c7fea70 (master): [ruby/webrick] Only run test_big_bodies test on Ruby 2.5+
https://git.ruby-lang.org/ruby.git/commit/?id=c12c7fea70 From c12c7fea70e80474d290a76ebbcc6badec705c6e Mon Sep 17 00:00:00 2001 From: Jeremy Evans <code@j...> Date: Wed, 15 Jul 2020 13:51:04 -0700 Subject: [ruby/webrick] Only run test_big_bodies test on Ruby 2.5+ It was added after Ruby 2.5, and it looks like it never ran correctly on Ruby <2.5. https://github.com/ruby/webrick/commit/65fb03cb6a diff --git a/test/webrick/test_httpproxy.rb b/test/webrick/test_httpproxy.rb index 8149d78..1c2f2fc 100644 --- a/test/webrick/test_httpproxy.rb +++ b/test/webrick/test_httpproxy.rb @@ -213,7 +213,7 @@ class TestWEBrickHTTPProxy < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/webrick/test_httpproxy.rb#L213 end end end - end + end if RUBY_VERSION >= '2.5' def test_http10_proxy_chunked # Testing HTTP/1.0 client request and HTTP/1.1 chunked response -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/