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

should not return.

* test/ruby/test_settracefunc.rb (test_throwing_return_with_finish_frame):
  should not use `return`, but should use `next`.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2017-04-17 23:47:12 +00:00
parent cc68af3d02
commit c29e8a0271

View file

@ -1429,7 +1429,7 @@ class TestSetTraceFunc < Test::Unit::TestCase
evs = []
TracePoint.new(:call, :return){|tp|
return if Thread.current != target_th
next unless target_thread?
evs << tp.event
}.enable{
Bug10724.new