mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02:00
Swift: tweak dataflow test
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user