Skip to content

Commit 30f5fb6

Browse files
committed
Update expectations after merge
1 parent f523fbc commit 30f5fb6

File tree

3 files changed

+19
-5
lines changed

3 files changed

+19
-5
lines changed

swift/ql/test/library-tests/dataflow/dataflow/DataFlow.expected

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ edges
9898
| test.swift:219:13:219:15 | .a [x] : | test.swift:219:13:219:17 | .x |
9999
| test.swift:225:14:225:21 | call to source() : | test.swift:235:13:235:15 | .source_value |
100100
| test.swift:225:14:225:21 | call to source() : | test.swift:238:13:238:15 | .source_value |
101+
| test.swift:259:12:259:19 | call to source() : | test.swift:263:13:263:28 | call to optionalSource() : |
102+
| test.swift:263:13:263:28 | call to optionalSource() : | test.swift:264:15:264:16 | ...! |
101103
nodes
102104
| file://:0:0:0:0 | .a [x] : | semmle.label | .a [x] : |
103105
| file://:0:0:0:0 | .x : | semmle.label | .x : |
@@ -208,6 +210,9 @@ nodes
208210
| test.swift:225:14:225:21 | call to source() : | semmle.label | call to source() : |
209211
| test.swift:235:13:235:15 | .source_value | semmle.label | .source_value |
210212
| test.swift:238:13:238:15 | .source_value | semmle.label | .source_value |
213+
| test.swift:259:12:259:19 | call to source() : | semmle.label | call to source() : |
214+
| test.swift:263:13:263:28 | call to optionalSource() : | semmle.label | call to optionalSource() : |
215+
| test.swift:264:15:264:16 | ...! | semmle.label | ...! |
211216
subpaths
212217
| test.swift:75:21:75:22 | &... : | test.swift:65:16:65:28 | arg1 : | test.swift:65:1:70:1 | arg2[return] : | test.swift:75:31:75:32 | [post] &... : |
213218
| test.swift:114:19:114:19 | arg : | test.swift:109:9:109:14 | arg : | test.swift:110:12:110:12 | arg : | test.swift:114:12:114:22 | call to ... : |
@@ -263,3 +268,4 @@ subpaths
263268
| test.swift:219:13:219:17 | .x | test.swift:218:11:218:18 | call to source() : | test.swift:219:13:219:17 | .x | result |
264269
| test.swift:235:13:235:15 | .source_value | test.swift:225:14:225:21 | call to source() : | test.swift:235:13:235:15 | .source_value | result |
265270
| test.swift:238:13:238:15 | .source_value | test.swift:225:14:225:21 | call to source() : | test.swift:238:13:238:15 | .source_value | result |
271+
| test.swift:264:15:264:16 | ...! | test.swift:259:12:259:19 | call to source() : | test.swift:264:15:264:16 | ...! | result |

swift/ql/test/library-tests/dataflow/dataflow/LocalFlow.expected

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,3 +184,11 @@
184184
| test.swift:247:9:247:9 | [post] self | test.swift:246:5:248:5 | self[return] |
185185
| test.swift:247:9:247:9 | self | test.swift:246:5:248:5 | self[return] |
186186
| test.swift:252:23:252:23 | value | test.swift:252:23:252:23 | WriteDef |
187+
| test.swift:263:9:263:9 | WriteDef | test.swift:264:15:264:15 | x |
188+
| test.swift:263:13:263:28 | call to optionalSource() | test.swift:263:9:263:9 | WriteDef |
189+
| test.swift:264:15:264:15 | x | test.swift:264:15:264:16 | ...! |
190+
| test.swift:264:15:264:15 | x | test.swift:266:15:266:15 | x |
191+
| test.swift:266:15:266:15 | x | test.swift:266:15:266:16 | ...? |
192+
| test.swift:266:15:266:15 | x | test.swift:267:15:267:15 | x |
193+
| test.swift:266:15:266:25 | call to signum() | test.swift:266:15:266:25 | OptionalEvaluationExpr |
194+
| test.swift:267:15:267:15 | x | test.swift:268:16:268:16 | x |

swift/ql/test/library-tests/dataflow/flowsources/FlowSources.expected

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
| customurlschemes.swift:23:44:23:54 | url | external |
2-
| customurlschemes.swift:27:52:27:68 | url | external |
3-
| customurlschemes.swift:31:52:31:62 | url | external |
4-
| customurlschemes.swift:36:9:36:28 | ...[...] | Remote URL in UIApplicationDelegate.application.launchOptions |
5-
| customurlschemes.swift:41:9:41:28 | ...[...] | Remote URL in UIApplicationDelegate.application.launchOptions |
1+
| customurlschemes.swift:30:44:30:54 | url | external |
2+
| customurlschemes.swift:34:52:34:68 | url | external |
3+
| customurlschemes.swift:38:52:38:62 | url | external |
4+
| customurlschemes.swift:43:9:43:28 | ...[...] | Remote URL in UIApplicationDelegate.application.launchOptions |
5+
| customurlschemes.swift:48:9:48:28 | ...[...] | Remote URL in UIApplicationDelegate.application.launchOptions |
66
| string.swift:27:21:27:21 | call to init(contentsOf:) | external |
77
| string.swift:27:21:27:44 | call to init(contentsOf:) | external |
88
| url.swift:53:15:53:19 | .resourceBytes | external |

0 commit comments

Comments
 (0)