Skip to content

Commit c5eebb4

Browse files
committed
[test] Fix a couple of RUN directives
1 parent a5d8c33 commit c5eebb4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/refactoring/ConvertAsync/path_classification.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ func testPathClassification() async throws {
172172
// ELSE-IF-CLASSIFICATION5-NEXT: }
173173
// ELSE-IF-CLASSIFICATION5-NEXT: }
174174

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
176176
simpleWithError { str, err in
177177
if let str = str {
178178
print("a")
@@ -185,7 +185,7 @@ func testPathClassification() async throws {
185185
}
186186
}
187187

188-
// IF-LET-RETURN-CLASSIFICATION-NEXT: do {
188+
// IF-LET-RETURN-CLASSIFICATION: do {
189189
// IF-LET-RETURN-CLASSIFICATION-NEXT: let str = try await simpleWithError()
190190
// IF-LET-RETURN-CLASSIFICATION-NEXT: print("a")
191191
// IF-LET-RETURN-CLASSIFICATION-NEXT: } catch let err {
@@ -196,7 +196,7 @@ func testPathClassification() async throws {
196196
// IF-LET-RETURN-CLASSIFICATION-NEXT: }
197197
// IF-LET-RETURN-CLASSIFICATION-NEXT: }
198198

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
200200
simpleWithError { str, err in
201201
guard let str = str else {
202202
print("a")

0 commit comments

Comments
 (0)