зеркало из https://github.com/github/ruby.git
fix test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
7594a8df75
Коммит
5eab7d7d55
|
@ -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!"
|
||||
|
|
Загрузка…
Ссылка в новой задаче