mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@4e486fa
This commit is contained in:
parent
f4502b001a
commit
34776105c8
46 changed files with 629 additions and 94 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue