summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2020-07-15 13:51:04 -0700
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-09-24 21:34:41 +0900
commitc12c7fea70e80474d290a76ebbcc6badec705c6e (patch)
tree5671517111a249ff41affee8bd911bf8f481cdcb /test
parented12019ce6abe87aac87ec77ac081d37b25180a2 (diff)
[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
Diffstat (limited to 'test')
-rw-r--r--test/webrick/test_httpproxy.rb2
1 files changed, 1 insertions, 1 deletions
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