mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test/ruby/test_settracefunc.rb: Suppress a warning
http://rubyci.s3.amazonaws.com/ubuntu2004/ruby-master/log/20200626T033003Z.log.html.gz ``` /home/chkbuild/chkbuild/tmp/build/20200626T033003Z/ruby/test/ruby/test_settracefunc.rb:2299: warning: ambiguous first argument; put parentheses or a space even after `/' operator ```
This commit is contained in:
parent
5c03e4680e
commit
a640bcee04
1 changed files with 1 additions and 1 deletions
|
@ -2296,7 +2296,7 @@ class TestSetTraceFunc < Test::Unit::TestCase
|
|||
def test_tracepoint_opt_invokebuiltin_delegate_leave
|
||||
code = 'puts RubyVM::InstructionSequence.of("\x00".method(:unpack)).disasm'
|
||||
out = EnvUtil.invoke_ruby(['-e', code], '', true).first
|
||||
assert_match /^0000 opt_invokebuiltin_delegate_leave /, out
|
||||
assert_match(/^0000 opt_invokebuiltin_delegate_leave /, out)
|
||||
|
||||
event = eval(EnvUtil.invoke_ruby(['-e', <<~'EOS'], '', true).first)
|
||||
TracePoint.new(:return) do |tp|
|
||||
|
|
Loading…
Reference in a new issue