From 5da00e0746fd4984dde43a859271398902b26c52 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 3 Jan 2017 06:21:00 +0000 Subject: test/inherit: stop testing Ruby itself TCPSocket.new raises exceptions on failure. --- test/inherit.rb | 2 -- 1 file changed, 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) -- cgit v1.2.3-24-ge0c7