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 {
170170 // ELSE-IF-CLASSIFICATION5-NEXT: }
171171 // ELSE-IF-CLASSIFICATION5-NEXT: }
172172
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
174174 simpleWithError { str, err in
175175 if let str = str {
176176 print ( " a " )
@@ -183,7 +183,7 @@ func testPathClassification() async throws {
183183 }
184184 }
185185
186- // IF-LET-RETURN-CLASSIFICATION-NEXT: do {
186+ // IF-LET-RETURN-CLASSIFICATION: do {
187187 // IF-LET-RETURN-CLASSIFICATION-NEXT: let str = try await simpleWithError()
188188 // IF-LET-RETURN-CLASSIFICATION-NEXT: print("a")
189189 // IF-LET-RETURN-CLASSIFICATION-NEXT: } catch let err {
@@ -194,7 +194,7 @@ func testPathClassification() async throws {
194194 // IF-LET-RETURN-CLASSIFICATION-NEXT: }
195195 // IF-LET-RETURN-CLASSIFICATION-NEXT: }
196196
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
198198 simpleWithError { str, err in
199199 guard let str = str else {
200200 print ( " a " )
You can’t perform that action at this time.
0 commit comments