File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
test/refactoring/ConvertAsync Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ func testPathClassification() async throws {
170
170
// ELSE-IF-CLASSIFICATION5-NEXT: }
171
171
// ELSE-IF-CLASSIFICATION5-NEXT: }
172
172
173
- // RN : %refactor -convert-call-to-async-alternative -dump-text -source-filename %s -pos=%(line+1):3 | %FileCheck -check-prefix=IF-LET-RETURN-CLASSIFICATION %s
173
+ // RUN : %refactor -convert-call-to-async-alternative -dump-text -source-filename %s -pos=%(line+1):3 | %FileCheck -check-prefix=IF-LET-RETURN-CLASSIFICATION %s
174
174
simpleWithError { str, err in
175
175
if let str = str {
176
176
print ( " a " )
@@ -183,7 +183,7 @@ func testPathClassification() async throws {
183
183
}
184
184
}
185
185
186
- // IF-LET-RETURN-CLASSIFICATION-NEXT: do {
186
+ // IF-LET-RETURN-CLASSIFICATION: do {
187
187
// IF-LET-RETURN-CLASSIFICATION-NEXT: let str = try await simpleWithError()
188
188
// IF-LET-RETURN-CLASSIFICATION-NEXT: print("a")
189
189
// IF-LET-RETURN-CLASSIFICATION-NEXT: } catch let err {
@@ -194,7 +194,7 @@ func testPathClassification() async throws {
194
194
// IF-LET-RETURN-CLASSIFICATION-NEXT: }
195
195
// IF-LET-RETURN-CLASSIFICATION-NEXT: }
196
196
197
- // RN : %refactor -convert-call-to-async-alternative -dump-text -source-filename %s -pos=%(line+1):3 | %FileCheck -check-prefix=GUARD-CLASSIFICATION %s
197
+ // RUN : %refactor -convert-call-to-async-alternative -dump-text -source-filename %s -pos=%(line+1):3 | %FileCheck -check-prefix=GUARD-CLASSIFICATION %s
198
198
simpleWithError { str, err in
199
199
guard let str = str else {
200
200
print ( " a " )
You can’t perform that action at this time.
0 commit comments