From a9925e2234cf1f72722d7e1fd8c134e321b894cf Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 20 Feb 2017 10:10:08 +0000 Subject: [PATCH] assertions.rb: ignore exit in child * test/lib/test/unit/assertions.rb (assert_separately): ignore SystemExit. unsuccessful exit still fails an assertion later. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/lib/test/unit/assertions.rb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/test/lib/test/unit/assertions.rb b/test/lib/test/unit/assertions.rb index d605d7997f..7a16be2ed9 100644 --- a/test/lib/test/unit/assertions.rb +++ b/test/lib/test/unit/assertions.rb @@ -589,14 +589,13 @@ EOT file ||= loc.path line ||= loc.lineno end - line -= 5 # lines until src src = <