Sha256: 2135f7818a658cda71bb325ca1d6a4c1809ac4d5ba8a30e2a2ef2b977d43a9e8
Contents?: true
Size: 322 Bytes
Versions: 32
Compression:
Stored size: 322 Bytes
Contents
require 'test/unit' $-w = true require 'kgio' class TestNoDnsOnTcpConnect < Test::Unit::TestCase def test_connect_remote assert_raises(ArgumentError) { Kgio::TCPSocket.new("example.com", 666) } end def test_connect_localhost assert_raises(ArgumentError) { Kgio::TCPSocket.new("localhost", 666) } end end
Version data entries
32 entries across 32 versions & 2 rubygems