Skip to content

Commit

Permalink
Make sink more precise.
Browse files Browse the repository at this point in the history
  • Loading branch information
ml86 committed Dec 3, 2024
1 parent bd79934 commit a24a295
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1186,7 +1186,7 @@ class RegexDefinedFlowsDataFlowTests
|""".stripMargin)
"be found" in {
val src = cpg.identifier("Foo").l
val snk = cpg.call("print").l
val snk = cpg.call("print").argument(1).l
snk.reachableByFlows(src).size shouldBe 3
}
}
Expand Down

0 comments on commit a24a295

Please sign in to comment.