diff options
author | Eric Wong <e@80x24.org> | 2017-01-03 06:21:00 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2017-01-03 06:21:00 +0000 |
commit | 5da00e0746fd4984dde43a859271398902b26c52 (patch) | |
tree | 962a5673f457d1e9cad7d707d2b65626ae40f94d | |
parent | d9484e983eed4be2d8457cebf6adeca39e9f1576 (diff) | |
download | cmogstored-5da00e0746fd4984dde43a859271398902b26c52.tar.gz |
TCPSocket.new raises exceptions on failure.
-rw-r--r-- | test/inherit.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/inherit.rb b/test/inherit.rb index 07b3841..ebbcf4c 100644 --- a/test/inherit.rb +++ b/test/inherit.rb @@ -91,7 +91,6 @@ class TestInherit < Test::Unit::TestCase # still works since drop is open in _this_ process c = TCPSocket.new(@host, drop_port) - assert_instance_of(TCPSocket, c) @to_close << c # drop is no longer valid after this: @@ -169,7 +168,6 @@ class TestInherit < Test::Unit::TestCase # still works since drop is open in _this_ process c = TCPSocket.new(@host, mport) - assert_instance_of(TCPSocket, c) @to_close << c c.write "hello\n" assert_match(/ERROR: unknown command/, c.gets) |