diff --git a/test/externals/ruby1.9/openssl/test_partial_record_read.rb b/test/externals/ruby1.9/openssl/test_partial_record_read.rb index ce42131cd71..7523bf15418 100644 --- a/test/externals/ruby1.9/openssl/test_partial_record_read.rb +++ b/test/externals/ruby1.9/openssl/test_partial_record_read.rb @@ -17,7 +17,7 @@ def test_partial_tls_record_read_nonblock ssl.connect sleep 3 # wait is required for the (incomplete) TLS record to arrive at the client socket - # Should raise a IO::WaitReadable since a full TLS record is not available for reading. + # Should raise a IO::WaitReadable since a full TLS record is not available for reading assert_raise(IO::WaitReadable) { ssl.read_nonblock(1) } end end diff --git a/test/externals/ruby2.0/openssl/test_partial_record_read.rb b/test/externals/ruby2.0/openssl/test_partial_record_read.rb index ce42131cd71..7523bf15418 100644 --- a/test/externals/ruby2.0/openssl/test_partial_record_read.rb +++ b/test/externals/ruby2.0/openssl/test_partial_record_read.rb @@ -17,7 +17,7 @@ def test_partial_tls_record_read_nonblock ssl.connect sleep 3 # wait is required for the (incomplete) TLS record to arrive at the client socket - # Should raise a IO::WaitReadable since a full TLS record is not available for reading. + # Should raise a IO::WaitReadable since a full TLS record is not available for reading assert_raise(IO::WaitReadable) { ssl.read_nonblock(1) } end end