diff options
Diffstat (limited to 'test/openssl/test_pair.rb')
-rw-r--r-- | test/openssl/test_pair.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/openssl/test_pair.rb b/test/openssl/test_pair.rb index 12af6aeff5..fa36725b58 100644 --- a/test/openssl/test_pair.rb +++ b/test/openssl/test_pair.rb @@ -141,7 +141,7 @@ class OpenSSL::TestPair < Test::Unit::TestCase def test_read_nonblock ssl_pair {|s1, s2| err = nil - assert_raise(OpenSSL::SSL::SSLError) { + assert_raise(OpenSSL::SSL::SSLErrorWaitReadable) { begin s2.read_nonblock(10) ensure |