aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_pair.rb
diff options
context:
space:
mode:
authornobu <nobu@ruby-lang.org>2016-07-26 13:02:33 +0000
committerKazuki Yamaguchi <k@rhe.jp>2016-07-28 11:49:26 +0900
commitcbbb850a2a1a10e8636836a6ba4ad018a7653931 (patch)
treee6a6d7c90064edc0edf55944a8443cf01d2e8ce0 /test/test_pair.rb
parenta45704f808846cc7e95a624e8b595e4c20a48810 (diff)
downloadruby-openssl-cbbb850a2a1a10e8636836a6ba4ad018a7653931.tar.gz
test: use assert_include
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/test_pair.rb')
-rw-r--r--test/test_pair.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_pair.rb b/test/test_pair.rb
index cf9b9303..ee43a0c6 100644
--- a/test/test_pair.rb
+++ b/test/test_pair.rb
@@ -497,13 +497,13 @@ module OpenSSL::TestPairM
until th.join(0.01)
accepted = s2.accept_nonblock(exception: false)
- assert_includes([s2, :wait_readable, :wait_writable ], accepted)
+ assert_include([s2, :wait_readable, :wait_writable ], accepted)
end
rets = th.value
assert_instance_of Array, rets
rets.each do |rv|
- assert_includes([s1, :wait_readable, :wait_writable ], rv)
+ assert_include([s1, :wait_readable, :wait_writable ], rv)
end
ensure
th.join if th