summaryrefslogtreecommitdiff
path: root/test/test_pty.rb
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-12 14:36:32 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-12 14:36:32 +0000
commitbcaf84e89c95d397eb37c5dff04bb367481d5391 (patch)
treefa377201a8b5ba0fc750157430be742397f703eb /test/test_pty.rb
parented2987cb62d1d0a3fc3f199b0ced3e6a71fde15e (diff)
Remove needless lines
Because both assert_equal and assert_nil do not pass at the same time. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/test_pty.rb')
-rw-r--r--test/test_pty.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/test_pty.rb b/test/test_pty.rb
index b6f7532a79..9e40a3d2fb 100644
--- a/test/test_pty.rb
+++ b/test/test_pty.rb
@@ -196,7 +196,6 @@ class TestPTY < Test::Unit::TestCase
rescue RuntimeError
skip $!
else
- assert_equal(pid, st1.pid) if st1
assert_nil(st1)
assert_equal(pid, st2.pid)
end
@@ -215,7 +214,6 @@ class TestPTY < Test::Unit::TestCase
rescue RuntimeError
skip $!
else
- assert_equal(pid, st1.pid) if st1
assert_nil(st1)
assert_equal(pid, st2.pid)
end