From c97952dd0fee8d105388b90e26146152ef4ebcd7 Mon Sep 17 00:00:00 2001 From: normal Date: Tue, 5 Jun 2018 21:19:36 +0000 Subject: [PATCH] test/dtrace/test_array_create.rb: require line number Nowadays we create empty arrays in the parse/compile phase which gave us lineno==0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/dtrace/test_array_create.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/dtrace/test_array_create.rb b/test/dtrace/test_array_create.rb index 44d4657b61..a7c4687f6f 100644 --- a/test/dtrace/test_array_create.rb +++ b/test/dtrace/test_array_create.rb @@ -26,7 +26,7 @@ module DTrace def probe type = 'array' <<-eoprobe ruby$target:::#{type}-create -/arg1/ +/arg1 && arg2/ { printf("%d %s %d\\n", arg0, copyinstr(arg1), arg2); }