1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2018-10-27 23:15:43 +00:00
parent 7594a8df75
commit 5eab7d7d55

View file

@ -314,9 +314,9 @@ class TestBacktrace < Test::Unit::TestCase
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!"