Skip to content

Commit 18fb4a8

Browse files
committed
Revert change to QL test
1 parent 1b29bdd commit 18fb4a8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

ql/ql/test/callgraph/Foo.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ class Foo extends AstNode {
1010
predicate baz() { bar() }
1111
}
1212

13-
class Sub extends Foo { }
13+
class Sub extends Foo {
14+
override predicate baz() { not super.baz() }
15+
}
1416

1517
query predicate test2() { any(Foo f).bar() }
1618

ql/ql/test/callgraph/callgraph.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ getTarget
66
| Baz.qll:8:18:8:44 | MemberCall | Baz.qll:4:10:4:24 | ClassPredicate getImportedPath |
77
| Foo.qll:5:26:5:30 | PredicateCall | Foo.qll:3:11:3:13 | ClasslessPredicate foo |
88
| Foo.qll:10:21:10:25 | PredicateCall | Foo.qll:8:13:8:15 | ClassPredicate bar |
9-
| Foo.qll:14:30:14:40 | MemberCall | Foo.qll:10:13:10:15 | ClassPredicate baz |
9+
| Foo.qll:14:34:14:44 | MemberCall | Foo.qll:10:13:10:15 | ClassPredicate baz |
1010
| Foo.qll:17:27:17:42 | MemberCall | Foo.qll:8:13:8:15 | ClassPredicate bar |
1111
| Foo.qll:29:5:29:16 | PredicateCall | Foo.qll:20:13:20:20 | ClasslessPredicate myThing2 |
1212
| Foo.qll:29:5:29:16 | PredicateCall | Foo.qll:26:13:26:18 | ClasslessPredicate alias2 |

0 commit comments

Comments
 (0)