File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
ruby/ql/test/library-tests/frameworks/core Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,9 @@ methodCallCodeExecutions
46
46
| Kernel.rb:92:1:92:14 | call to method | Kernel.rb:92:8:92:13 | "exit" |
47
47
| Kernel.rb:93:1:93:21 | call to public_method | Kernel.rb:93:15:93:20 | "exit" |
48
48
| Kernel.rb:94:1:94:23 | call to singleton_method | Kernel.rb:94:18:94:22 | "foo" |
49
+ | Kernel.rb:96:1:96:18 | call to method | Kernel.rb:96:12:96:17 | "exit" |
50
+ | Kernel.rb:97:1:97:25 | call to public_method | Kernel.rb:97:19:97:24 | "exit" |
51
+ | Kernel.rb:98:1:98:27 | call to singleton_method | Kernel.rb:98:22:98:26 | "foo" |
49
52
evalCallCodeExecutions
50
53
| Eval.rb:3:1:3:43 | call to eval | Eval.rb:3:6:3:22 | "raise \\"error\\"" |
51
54
| Kernel.rb:1:1:1:43 | call to eval | Kernel.rb:1:6:1:22 | "raise \\"error\\"" |
Original file line number Diff line number Diff line change @@ -92,3 +92,7 @@ def run
92
92
method ( "exit" ) . call
93
93
public_method ( "exit" ) . call
94
94
singleton_method ( "foo" ) . call
95
+
96
+ Foo . method ( "exit" ) . call
97
+ Foo . public_method ( "exit" ) . call
98
+ Foo . singleton_method ( "foo" ) . call
You can’t perform that action at this time.
0 commit comments