Swift: tweak dataflow test

This commit is contained in:
Paolo Tranquilli
2023-10-31 11:39:25 +01:00
parent 5407b57261
commit ea04b500a3
2 changed files with 2 additions and 4 deletions

View File

@@ -177,8 +177,8 @@ class S {
f(source("captureThis", 2));
sink(bf1); // $ hasValueFlow=captureThis
sink(self.bf2); // $ hasValueFlow=captureThis
sink(bf1); // $ MISSING: hasValueFlow=captureThis
sink(self.bf2); // $ MISSING: hasValueFlow=captureThis
}
}

View File

@@ -1,4 +1,2 @@
testFailures
| closures.swift:180:16:181:1 | // $ hasValueFlow=captureThis\n | Missing result:hasValueFlow=captureThis |
| closures.swift:181:21:182:1 | // $ hasValueFlow=captureThis\n | Missing result:hasValueFlow=captureThis |
failures