Skip to content

Commit 12f2539

Browse files
committed
Swift: Use flowTo.
1 parent 3eb1bac commit 12f2539

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ module FlowSourcesTest implements TestSig {
3838
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(_, sink) and
41+
TestFlow::flowTo(sink) and
4242
location = sink.getLocation() and
4343
element = sink.toString() and
4444
tag = "tainted" and

0 commit comments

Comments
 (0)