about summary refs log tree commit homepage
path: root/test
diff options
context:
space:
mode:
authorJean Boussier <jean.boussier@shopify.com>2020-09-04 14:34:37 +0200
committerEric Wong <bofh@yhbt.net>2020-09-06 09:22:40 +0000
commit06e904f1e8d8e554d8992fbb3de993dff45dec4c (patch)
treea33219529b436c1a95e77423f179764f6b9f28ff /test
parentebd6816e393ac9926f16f3a73034fc378492d71e (diff)
downloadunicorn-06e904f1e8d8e554d8992fbb3de993dff45dec4c.tar.gz
Ruby just recently bump the master version to 3.0.
This requirement bump is necessary to test unicorn
against ruby master.

[ew: wrap at <80 columns for hackers with poor eyesight]

Acked-by: Eric Wong <bofh@yhbt.net>
Diffstat (limited to 'test')
-rw-r--r--test/test_helper.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb
index e3c6ad4..974d2f2 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -34,6 +34,11 @@ if ENV['DEBUG']
   Debugger.start
 end
 
+unless RUBY_VERSION < '3.1'
+  warn "Unicorn was only tested against MRI up to 3.0.\n" \
+       "It might not properly work with #{RUBY_VERSION}"
+end
+
 def redirect_test_io
   orig_err = STDERR.dup
   orig_out = STDOUT.dup