diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-06-05 21:19:36 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-06-05 21:19:36 +0000 |
commit | c97952dd0fee8d105388b90e26146152ef4ebcd7 (patch) | |
tree | 0159ca0221c7d98b3f698cfe82e21028408349d4 /test | |
parent | 2acd50ed422b610c739eb0b970dd09553aaa40c8 (diff) | |
download | ruby-c97952dd0fee8d105388b90e26146152ef4ebcd7.tar.gz |
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
Diffstat (limited to 'test')
-rw-r--r-- | test/dtrace/test_array_create.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |