aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_pair.rb
diff options
context:
space:
mode:
authorZachary Scott <e@zzak.io>2016-02-02 21:27:14 +0900
committerZachary Scott <e@zzak.io>2016-02-02 21:27:14 +0900
commit73a4f252694066e795abe56db08cd9e2dd75520d (patch)
tree852b2a3d190346aa9846aa5b65a7722cf650d01f /test/test_pair.rb
parent982f06448b7351cf042cdba325bce8bc9968b805 (diff)
downloadruby-openssl-73a4f252694066e795abe56db08cd9e2dd75520d.tar.gz
We can remove this condition since we don't support/test Ruby < 2.3
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 82a133f5..c7fc292e 100644
--- a/test/test_pair.rb
+++ b/test/test_pair.rb
@@ -434,7 +434,7 @@ module OpenSSL::TestPairM
sock1.close if sock1
sock2.close if sock2
accepted.close if accepted.respond_to?(:close)
- end if RUBY_VERSION.to_f > 2.2
+ end
def test_connect_accept_nonblock
ctx = OpenSSL::SSL::SSLContext.new()