aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_pair.rb
diff options
context:
space:
mode:
authorZachary Scott <e@zzak.io>2015-06-03 21:51:55 -0400
committerZachary Scott <e@zzak.io>2015-06-03 21:51:55 -0400
commit6e7993b91d774dc5ca453aba479b1f7ab6602872 (patch)
tree21d03b5583593e063ea4a756d947e4404e4eb94e /test/test_pair.rb
parentaaa144bebfc3c0e77078cfbcc42ce5477e7cb05d (diff)
downloadruby-openssl-6e7993b91d774dc5ca453aba479b1f7ab6602872.tar.gz
Don't run this test on Ruby 2.2
Diffstat (limited to 'test/test_pair.rb')
-rw-r--r--test/test_pair.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_pair.rb b/test/test_pair.rb
index 53b60c08..7cf95f08 100644
--- a/test/test_pair.rb
+++ b/test/test_pair.rb
@@ -328,7 +328,7 @@ module OpenSSL::TestPairM
sock1.close if sock1
sock2.close if sock2
accepted.close if accepted.respond_to?(:close)
- end
+ end if RUBY_VERSION.to_f > 2.2
def test_connect_accept_nonblock
ctx = OpenSSL::SSL::SSLContext.new()