1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
This commit is contained in:
Benoit Daloze 2020-05-31 18:22:49 +02:00
parent f4502b001a
commit 34776105c8
46 changed files with 629 additions and 94 deletions

View file

@ -10,6 +10,7 @@ describe 'TracePoint#inspect' do
inspect = nil
line = nil
TracePoint.new(:line) { |tp|
next unless TracePointSpec.target_thread?
inspect ||= tp.inspect
}.enable do
line = __LINE__
@ -22,6 +23,7 @@ describe 'TracePoint#inspect' do
inspect = nil
line = nil
TracePoint.new(:class) { |tp|
next unless TracePointSpec.target_thread?
inspect ||= tp.inspect
}.enable do
line = __LINE__ + 1