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

test/ruby/test_settracefunc.rb: fix NoMethodError

* test/ruby/test_settracefunc.rb (test_trace_point_raising_exception_in_bmethod_call):
  this test run in separate process, so #target_thread? is not defined and it doesn't
  need target thread check.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ktsj 2018-06-23 04:56:49 +00:00
parent 289dcb30b9
commit c7ab4f6dcb

View file

@ -1809,7 +1809,6 @@ class TestSetTraceFunc < Test::Unit::TestCase
define_method(:m) {}
tp = TracePoint.new(:call) do
next unless target_thread?
raise ''
end