diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-07-26 13:02:33 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-07-26 13:02:33 +0000 |
commit | e7440de279fdf1ae50ee4171f678b7af46d48fcd (patch) | |
tree | 9497ee8bfba5624f9e1b067309455ccef5e2a87f /test/openssl/test_pair.rb | |
parent | 7b3473a13a5e06025940cf5858d30b011c215b74 (diff) |
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/openssl/test_pair.rb')
-rw-r--r-- | test/openssl/test_pair.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/openssl/test_pair.rb b/test/openssl/test_pair.rb index b90b4de372..5750f3b7df 100644 --- a/test/openssl/test_pair.rb +++ b/test/openssl/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 |