1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* eval.c (rb_raise_jump): pop frame after setup exception.

Patches by deivid (David Rodriguez). [Bug #8886]
* test/minitest/test_minitest_unit.rb: catch up this change.
* test/ruby/test_backtrace.rb: ditto.
* test/ruby/test_settracefunc.rb: ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2013-12-11 03:39:52 +00:00
parent 3d4ceaaa14
commit a4cbd6412a
5 changed files with 21 additions and 5 deletions

View file

@ -10,7 +10,7 @@ class TestBacktrace < Test::Unit::TestCase
e.backtrace
end
}.resume
assert_equal(1, bt.size)
assert_equal(2, bt.size)
assert_match(/.+:\d+:.+/, bt[0])
end