about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2017-01-03 06:21:00 +0000
committerEric Wong <e@80x24.org>2017-01-03 06:21:00 +0000
commit5da00e0746fd4984dde43a859271398902b26c52 (patch)
tree962a5673f457d1e9cad7d707d2b65626ae40f94d
parentd9484e983eed4be2d8457cebf6adeca39e9f1576 (diff)
downloadcmogstored-5da00e0746fd4984dde43a859271398902b26c52.tar.gz
TCPSocket.new raises exceptions on failure.
-rw-r--r--test/inherit.rb2
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)