ruby-changes:53182
From: naruse <ko1@a...>
Date: Sun, 28 Oct 2018 08:16:14 +0900 (JST)
Subject: [ruby-changes:53182] naruse:r65397 (trunk): fix test
naruse 2018-10-28 08:15:43 +0900 (Sun, 28 Oct 2018) New Revision: 65397 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65397 Log: fix test Modified files: trunk/test/ruby/test_backtrace.rb Index: test/ruby/test_backtrace.rb =================================================================== --- test/ruby/test_backtrace.rb (revision 65396) +++ test/ruby/test_backtrace.rb (revision 65397) @@ -314,9 +314,9 @@ class TestBacktrace < Test::Unit::TestCa https://github.com/ruby/ruby/blob/trunk/test/ruby/test_backtrace.rb#L314 err = ["-:7:in `rescue in bar': bar! (RuntimeError)", "\tfrom -:4:in `bar'", "\tfrom -:9:in `<main>'", - "\t2: from -:9:in `<main>'", - "\t1: from -:5:in `bar'", - "-:2:in `foo': foo! (RuntimeError)"] + "-:2:in `foo': foo! (RuntimeError)", + "\tfrom -:5:in `bar'", + "\tfrom -:9:in `<main>'"] assert_in_out_err([], <<-"end;", [], err) def foo raise "foo!" -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/