Apply suggestions from code review

Co-authored-by: Chris Smowton <smowton@github.com>
This commit is contained in:
Artem Smotrakov
2021-07-19 11:45:56 +02:00
committed by Artem Smotrakov
parent c367c7e33b
commit e02530749b
3 changed files with 2 additions and 4 deletions

View File

@@ -9,8 +9,8 @@ class UnsafeDeserializationTest extends InlineExpectationsTest {
override predicate hasActualResult(Location location, string element, string tag, string value) {
tag = "unsafeDeserialization" and
exists(DataFlow::Node src, DataFlow::Node sink, UnsafeDeserializationConfig conf |
conf.hasFlow(src, sink)
exists(DataFlow::Node sink, UnsafeDeserializationConfig conf |
conf.hasFlowTo(sink)
|
sink.getLocation() = location and
element = sink.toString() and