We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f5651b commit a4ab256Copy full SHA for a4ab256
PascalInterpreter/PascalInterpreterTests/ParserTests.swift
@@ -323,7 +323,7 @@ class ParserTests: XCTestCase {
323
324
let parser = Parser(program)
325
let result = parser.parse()
326
- let compound = Compound(children: [ProcedureCall(name: "Factorial", actualParameters: [])])
+ let compound = Compound(children: [ProcedureCall(name: "Factorial", actualParameters: [Variable(name: "x")]), NoOp()])
327
let node = Program(name: "Main", block: Block(declarations: [], compound: compound))
328
XCTAssertEqual(result, node)
329
}
0 commit comments