DataFlow: Fix test.

This commit is contained in:
Anders Schack-Mulligen
2022-01-10 11:25:52 +01:00
parent c8a6798c05
commit f590d2566e

View File

@@ -3,10 +3,6 @@ import semmle.code.java.dataflow.DataFlow
import TestUtilities.InlineExpectationsTest
import DataFlow
class TestState extends FlowState {
TestState() { src(_, this) or sink(_, this) or step(_, _, this, _) or step(_, _, _, this) }
}
predicate src(Node n, string s) {
exists(MethodAccess ma |
n.asExpr() = ma and