Skip to content

Commit 5d85559

Browse files
committed
Python: Use correct class in inline expectation test
These were missed earlier, and still referred to the classes from the legacy interface and not the parameterized module.
1 parent e26336a commit 5d85559

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ query predicate pointsTo_found_typeTracker_notFound(CallNode call, string qualna
108108
not typeTrackerCallEdge(call, target) and
109109
qualname = getCallEdgeValue(call, target) and
110110
// ignore SPURIOUS call edges
111-
not exists(FalsePositiveExpectation spuriousResult |
111+
not exists(FalsePositiveTestExpectation spuriousResult |
112112
spuriousResult.getTag() = "pt" and
113113
spuriousResult.getValue() = getCallEdgeValue(call, target) and
114114
spuriousResult.getLocation().getFile() = call.getLocation().getFile() and
@@ -127,7 +127,7 @@ query predicate typeTracker_found_pointsTo_notFound(CallNode call, string qualna
127127
// between the two).
128128
not typeTrackerClassCall(call, target) and
129129
// ignore SPURIOUS call edges
130-
not exists(FalsePositiveExpectation spuriousResult |
130+
not exists(FalsePositiveTestExpectation spuriousResult |
131131
spuriousResult.getTag() = "tt" and
132132
spuriousResult.getValue() = getCallEdgeValue(call, target) and
133133
spuriousResult.getLocation().getFile() = call.getLocation().getFile() and

0 commit comments

Comments
 (0)