From c12c7fea70e80474d290a76ebbcc6badec705c6e Mon Sep 17 00:00:00 2001 From: Jeremy Evans Date: Wed, 15 Jul 2020 13:51:04 -0700 Subject: [PATCH] [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 --- test/webrick/test_httpproxy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/webrick/test_httpproxy.rb b/test/webrick/test_httpproxy.rb index 8149d78300..1c2f2fce52 100644 --- a/test/webrick/test_httpproxy.rb +++ b/test/webrick/test_httpproxy.rb @@ -213,7 +213,7 @@ class TestWEBrickHTTPProxy < Test::Unit::TestCase 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