Skip to content

Commit ea04b50

Browse files
committed
Swift: tweak dataflow test
1 parent 5407b57 commit ea04b50

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

swift/ql/test/library-tests/dataflow/capture/closures.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,8 @@ class S {
177177

178178
f(source("captureThis", 2));
179179

180-
sink(bf1); // $ hasValueFlow=captureThis
181-
sink(self.bf2); // $ hasValueFlow=captureThis
180+
sink(bf1); // $ MISSING: hasValueFlow=captureThis
181+
sink(self.bf2); // $ MISSING: hasValueFlow=captureThis
182182
}
183183
}
184184

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
testFailures
2-
| closures.swift:180:16:181:1 | // $ hasValueFlow=captureThis\n | Missing result:hasValueFlow=captureThis |
3-
| closures.swift:181:21:182:1 | // $ hasValueFlow=captureThis\n | Missing result:hasValueFlow=captureThis |
42
failures

0 commit comments

Comments
 (0)