1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
kazu 2018-06-12 14:36:32 +00:00
parent ed2987cb62
commit bcaf84e89c

View file

@ -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