diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-06-12 14:36:32 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-06-12 14:36:32 +0000 |
commit | 01f07841f94b39571403739462fe6b2a799b1f2d (patch) | |
tree | fa377201a8b5ba0fc750157430be742397f703eb /test | |
parent | 3a459ede5dc517d206c080da4209c5a81c109cdf (diff) | |
download | ruby-01f07841f94b39571403739462fe6b2a799b1f2d.tar.gz |
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')
-rw-r--r-- | test/test_pty.rb | 2 |
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 |