Skip to content

Commit f5b00fc

Browse files
committed
[test] Fix a couple of RUN directives
1 parent b4c873a commit f5b00fc

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
@@ -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")

0 commit comments

Comments
 (0)