Merge pull request #8543 from hmac/hmac/test-naming-fix

Ruby: Fix bad name of lambda in test
This commit is contained in:
Tom Hvitved
2022-03-24 09:46:04 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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