diff --git a/test/openssl/test_ssl.rb b/test/openssl/test_ssl.rb index 15e8d7e3f..65dbe7ac2 100644 --- a/test/openssl/test_ssl.rb +++ b/test/openssl/test_ssl.rb @@ -6,7 +6,7 @@ class OpenSSL::TestSSL < OpenSSL::SSLTestCase def test_bad_socket bad_socket = Struct.new(:sync).new - assert_raises TypeError do + assert_raise TypeError do socket = OpenSSL::SSL::SSLSocket.new bad_socket # if the socket is not a T_FILE, `connect` will segv because it tries # to get the underlying file descriptor but the API it calls assumes