diff --git a/test/net/ftp/test_ftp.rb b/test/net/ftp/test_ftp.rb index a8c3f80..f2cfb47 100644 --- a/test/net/ftp/test_ftp.rb +++ b/test/net/ftp/test_ftp.rb @@ -2642,7 +2642,7 @@ def test_use_pasv_invalid_ip assert_match(/\AUSER /, commands.shift) assert_match(/\APASS /, commands.shift) assert_equal("TYPE I\r\n", commands.shift) - assert_raise(SocketError) do + assert_raises(SocketError) do ftp.getbinaryfile("foo", nil) end ensure