Skip to content

Commit 44d785f

Browse files
committed
Swift: Make QL-for-QL happy.
1 parent 374c157 commit 44d785f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

swift/ql/test/library-tests/dataflow/flowsources/FlowSourcesInline.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ module FlowSourcesTest implements TestSig {
3535
value = describe(source)
3636
)
3737
or
38-
exists(DataFlow::Node source, DataFlow::Node sink |
38+
exists(DataFlow::Node sink |
3939
// this is not really what the "flowsources" test is about, but sometimes it's helpful to
4040
// have sinks and confirm that taint reaches obvious points in the flow source test code.
41-
TestFlow::flow(source, sink) and
41+
TestFlow::flow(_, sink) and
4242
location = sink.getLocation() and
4343
element = sink.toString() and
4444
tag = "tainted" and

0 commit comments

Comments
 (0)