diff --git a/swift/ql/test/library-tests/controlflow/graph/Cfg.ql b/swift/ql/test/library-tests/controlflow/graph/Cfg.ql index 661ab48818a..48e00332acd 100644 --- a/swift/ql/test/library-tests/controlflow/graph/Cfg.ql +++ b/swift/ql/test/library-tests/controlflow/graph/Cfg.ql @@ -11,7 +11,7 @@ class MyRelevantNode extends ControlFlowNode { private AstNode asAstNode() { result = this.getAstNode().asAstNode() } string getOrderDisambiguation() { - result = this.asAstNode().getPrimaryQlClasses() + result = concat([this.asAstNode().getAPrimaryQlClass(), this.asAstNode().toString()], ",") or not exists(this.asAstNode()) and result = "" }