Skip to content

Commit 6706ba6

Browse files
committed
Swift: accept toString changes in tests
1 parent e3f86a9 commit 6706ba6

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

swift/ql/test/extractor-tests/expressions/all.expected

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
| expressions.swift:27:13:27:13 | Klass.Type | TypeExpr |
4747
| expressions.swift:27:13:27:13 | call to init | ConstructorRefCallExpr |
4848
| expressions.swift:27:13:27:13 | init | DeclRefExpr |
49-
| expressions.swift:27:13:27:19 | call to ... | CallExpr |
49+
| expressions.swift:27:13:27:19 | call to init | CallExpr |
5050
| expressions.swift:29:9:29:19 | [...] | DictionaryExpr |
5151
| expressions.swift:29:10:29:10 | 1 | StringLiteralExpr |
5252
| expressions.swift:29:10:29:16 | (...) | TupleExpr |
@@ -164,7 +164,7 @@
164164
| expressions.swift:83:15:83:15 | Derived.Type | TypeExpr |
165165
| expressions.swift:83:15:83:15 | call to init | ConstructorRefCallExpr |
166166
| expressions.swift:83:15:83:15 | init | DeclRefExpr |
167-
| expressions.swift:83:15:83:23 | call to ... | CallExpr |
167+
| expressions.swift:83:15:83:23 | call to init | CallExpr |
168168
| expressions.swift:84:1:84:1 | _ | DiscardAssignmentExpr |
169169
| expressions.swift:84:1:84:13 | ... = ... | AssignExpr |
170170
| expressions.swift:84:5:84:5 | (Base) ... | DerivedToBaseExpr |
@@ -185,7 +185,7 @@
185185
| expressions.swift:92:37:92:37 | ToPtr.Type | TypeExpr |
186186
| expressions.swift:92:37:92:37 | call to init | ConstructorRefCallExpr |
187187
| expressions.swift:92:37:92:37 | init | DeclRefExpr |
188-
| expressions.swift:92:37:92:43 | call to ... | CallExpr |
188+
| expressions.swift:92:37:92:43 | call to init | CallExpr |
189189
| expressions.swift:92:46:92:46 | toOpaque() | DeclRefExpr |
190190
| expressions.swift:93:1:93:16 | Unmanaged<ToPtr>.Type | TypeExpr |
191191
| expressions.swift:93:1:93:18 | .fromOpaque(_:) | MethodRefExpr |

swift/ql/test/extractor-tests/generated/expr/EnumIsCaseExpr/EnumIsCaseExpr.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
| enum_is_case.swift:21:1:21:5 | ... is some | getSubExpr: | enum_is_case.swift:21:1:21:5 | [...] | getElement: | file://:0:0:0:0 | some |
88
| enum_is_case.swift:22:1:22:10 | ... is some | getSubExpr: | enum_is_case.swift:22:1:22:10 | [...] | getElement: | file://:0:0:0:0 | some |
99
| enum_is_case.swift:23:1:23:10 | ... is some | getSubExpr: | enum_is_case.swift:23:1:23:10 | [...] | getElement: | file://:0:0:0:0 | some |
10-
| enum_is_case.swift:24:1:24:8 | ... is some | getSubExpr: | enum_is_case.swift:24:1:24:8 | call to ... | getElement: | file://:0:0:0:0 | some |
10+
| enum_is_case.swift:24:1:24:8 | ... is some | getSubExpr: | enum_is_case.swift:24:1:24:8 | call to init | getElement: | file://:0:0:0:0 | some |

swift/ql/test/extractor-tests/types/Types.expected

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
| types.swift:7:16:7:16 | X.Type | X.Type |
1616
| types.swift:7:16:7:16 | call to init | () -> X |
1717
| types.swift:7:16:7:16 | init | (X.Type) -> () -> X |
18-
| types.swift:7:16:7:18 | call to ... | X |
18+
| types.swift:7:16:7:18 | call to init | X |
1919
| types.swift:13:17:13:17 | C.Type | C.Type |
2020
| types.swift:13:17:13:17 | call to init | () -> C |
2121
| types.swift:13:17:13:17 | init | (C.Type) -> () -> C |
22-
| types.swift:13:17:13:19 | call to ... | C |
22+
| types.swift:13:17:13:19 | call to init | C |
2323
| types.swift:14:22:14:24 | C.Nested.Type | C.Nested.Type |
2424
| types.swift:14:22:14:24 | call to init | () -> C.Nested |
25-
| types.swift:14:22:14:31 | call to ... | C.Nested |
25+
| types.swift:14:22:14:31 | call to init | C.Nested |
2626
| types.swift:14:24:14:24 | init | (C.Nested.Type) -> () -> C.Nested |
2727
| types.swift:17:10:17:10 | x | Int |
2828
| types.swift:17:10:17:14 | ... .+(_:_:) ... | Int |

0 commit comments

Comments
 (0)