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 @@ -172,7 +172,7 @@ func testPathClassification() async throws {
172
172
// ELSE-IF-CLASSIFICATION5-NEXT: }
173
173
// ELSE-IF-CLASSIFICATION5-NEXT: }
174
174
175
- // RN : %refactor -convert-call-to-async-alternative -dump-text -source-filename %s -pos=%(line+1):3 | %FileCheck -check-prefix=IF-LET-RETURN-CLASSIFICATION %s
175
+ // RUN : %refactor -convert-call-to-async-alternative -dump-text -source-filename %s -pos=%(line+1):3 | %FileCheck -check-prefix=IF-LET-RETURN-CLASSIFICATION %s
176
176
simpleWithError { str, err in
177
177
if let str = str {
178
178
print ( " a " )
@@ -185,7 +185,7 @@ func testPathClassification() async throws {
185
185
}
186
186
}
187
187
188
- // IF-LET-RETURN-CLASSIFICATION-NEXT: do {
188
+ // IF-LET-RETURN-CLASSIFICATION: do {
189
189
// IF-LET-RETURN-CLASSIFICATION-NEXT: let str = try await simpleWithError()
190
190
// IF-LET-RETURN-CLASSIFICATION-NEXT: print("a")
191
191
// IF-LET-RETURN-CLASSIFICATION-NEXT: } catch let err {
@@ -196,7 +196,7 @@ func testPathClassification() async throws {
196
196
// IF-LET-RETURN-CLASSIFICATION-NEXT: }
197
197
// IF-LET-RETURN-CLASSIFICATION-NEXT: }
198
198
199
- // RN : %refactor -convert-call-to-async-alternative -dump-text -source-filename %s -pos=%(line+1):3 | %FileCheck -check-prefix=GUARD-CLASSIFICATION %s
199
+ // RUN : %refactor -convert-call-to-async-alternative -dump-text -source-filename %s -pos=%(line+1):3 | %FileCheck -check-prefix=GUARD-CLASSIFICATION %s
200
200
simpleWithError { str, err in
201
201
guard let str = str else {
202
202
print ( " a " )
You can’t perform that action at this time.
0 commit comments