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:
parent
cc68af3d02
commit
c29e8a0271
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue