Skip to content

Commit 8b57565

Browse files
Update python/ql/test/experimental/library-tests/CallGraph/InlineCallGraphTest.ql
Co-authored-by: Rasmus Wriedt Larsen <[email protected]>
1 parent 5950c33 commit 8b57565

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

python/ql/test/experimental/library-tests/CallGraph/InlineCallGraphTest.ql

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ predicate typeTrackerCallEdge(CallNode call, Function callable) {
3131
predicate typeTrackerClassCall(CallNode call, Function callable) {
3232
exists(call.getLocation().getFile().getRelativePath()) and
3333
exists(callable.getLocation().getFile().getRelativePath()) and
34-
TT::resolveCall(call, callable, any(TT::TCallType t | t instanceof TT::CallTypeClass)) and
35-
TT::TFunction(callable) instanceof TT::DataFlowFunction
34+
TT::resolveCall(call, callable, any(TT::TCallType t | t instanceof TT::CallTypeClass))
3635
}
3736

3837
module CallGraphTest implements TestSig {

0 commit comments

Comments
 (0)