We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2cc78a commit 9b4f761Copy full SHA for 9b4f761
test/openssl/test_ssl.rb
@@ -6,7 +6,7 @@
6
class OpenSSL::TestSSL < OpenSSL::SSLTestCase
7
def test_bad_socket
8
bad_socket = Struct.new(:sync).new
9
- assert_raises TypeError do
+ assert_raise TypeError do
10
socket = OpenSSL::SSL::SSLSocket.new bad_socket
11
# if the socket is not a T_FILE, `connect` will segv because it tries
12
# to get the underlying file descriptor but the API it calls assumes
0 commit comments