mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
Ruby: Remove unused test file
This commit is contained in:
@@ -1,24 +0,0 @@
|
||||
# Uses of eval and send
|
||||
|
||||
eval("raise \"error\"", binding, "file", 1)
|
||||
send("raise", "error")
|
||||
|
||||
a = []
|
||||
a.send("push", "1")
|
||||
|
||||
class Foo
|
||||
def eval(x)
|
||||
x + 1
|
||||
end
|
||||
|
||||
def send(*args)
|
||||
2
|
||||
end
|
||||
|
||||
def run
|
||||
eval("exit 1")
|
||||
end
|
||||
end
|
||||
|
||||
Foo.new.send("exit", 1)
|
||||
Foo.module_eval("def bar; 1; end", "other_file.rb", 2)
|
||||
Reference in New Issue
Block a user