mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test/dtrace: use TracePoint.__enable
"TracePoint.enable" is implemented in prelude.rb since
r66003 / commit 96990203b7
and not available in miniruby. I tried using regular "ruby"
for testing, but it proved noisy and caused test failures.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
349f6a3275
commit
0046a4a519
2 changed files with 2 additions and 2 deletions
|
@ -77,7 +77,7 @@ ruby$target:::method-return
|
|||
private
|
||||
def ruby_program
|
||||
<<-eoruby
|
||||
TracePoint.new{}.enable
|
||||
TracePoint.new{}.__enable(nil, nil)
|
||||
class Foo
|
||||
def foo; end
|
||||
end
|
||||
|
|
|
@ -46,7 +46,7 @@ ruby$target:::method-return
|
|||
|
||||
def ruby_program
|
||||
<<-eoruby
|
||||
TracePoint.new{}.enable
|
||||
TracePoint.new{}.__enable(nil, nil)
|
||||
class Foo
|
||||
def self.foo; end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue