mirror of
https://github.com/github/codeql.git
synced 2026-02-01 15:52:59 +01:00
Merge pull request #8543 from hmac/hmac/test-naming-fix
Ruby: Fix bad name of lambda in test
This commit is contained in:
@@ -710,7 +710,7 @@ calls/calls.rb:
|
||||
# 350| getAnOperand/getLeftOperand: [LocalVariableAccess] y
|
||||
# 350| getAnOperand/getRightOperand: [IntegerLiteral] 1
|
||||
# 351| getStmt: [AssignExpr] ... = ...
|
||||
# 351| getAnOperand/getLeftOperand: [LocalVariableAccess] id
|
||||
# 351| getAnOperand/getLeftOperand: [LocalVariableAccess] one
|
||||
# 351| getAnOperand/getRightOperand: [Lambda] -> { ... }
|
||||
# 351| getParameter: [SimpleParameter] x
|
||||
# 351| getDefiningAccess: [LocalVariableAccess] x
|
||||
|
||||
@@ -348,7 +348,7 @@ foo(X:)
|
||||
|
||||
# calls inside lambdas
|
||||
y = 1
|
||||
id = ->(x) { y }
|
||||
one = ->(x) { y }
|
||||
f = ->(x) { foo x }
|
||||
g = ->(x) { unknown_call }
|
||||
h = -> (x) do
|
||||
|
||||
Reference in New Issue
Block a user