Skip to content

Commit 353e4f0

Browse files
committed
spelling: multi
Signed-off-by: Josh Soref <[email protected]>
1 parent f7236bc commit 353e4f0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/refactoring/ConvertAsync/labeled_closure_params.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
// RUN: %empty-directory(%t)
44

55
// RUN: %refactor-check-compiles -add-async-alternative -dump-text -source-filename %s -pos=%(line+1):1 | %FileCheck -check-prefix=MULTIPLE-LABELED-RESULTS %s
6-
func mutlipleLabeledResults(completion: @escaping (_ first: String, _ second: String) -> Void) { }
6+
func multipleLabeledResults(completion: @escaping (_ first: String, _ second: String) -> Void) { }
77
// MULTIPLE-LABELED-RESULTS: {
88
// MULTIPLE-LABELED-RESULTS-NEXT: Task {
9-
// MULTIPLE-LABELED-RESULTS-NEXT: let result = await mutlipleLabeledResults()
9+
// MULTIPLE-LABELED-RESULTS-NEXT: let result = await multipleLabeledResults()
1010
// MULTIPLE-LABELED-RESULTS-NEXT: completion(result.first, result.second)
1111
// MULTIPLE-LABELED-RESULTS-NEXT: }
1212
// MULTIPLE-LABELED-RESULTS-NEXT: }
13-
// MULTIPLE-LABELED-RESULTS: func mutlipleLabeledResults() async -> (first: String, second: String) { }
13+
// MULTIPLE-LABELED-RESULTS: func multipleLabeledResults() async -> (first: String, second: String) { }
1414

1515
// RUN: %refactor-check-compiles -add-async-alternative -dump-text -source-filename %s -pos=%(line+1):1 | %FileCheck -check-prefix=MIXED-LABELED-RESULTS %s
1616
func mixedLabeledResult(completion: @escaping (_ first: String, String) -> Void) { }
@@ -62,11 +62,11 @@ func multipleLabeledResultWithError(completion: @escaping (_ first: String?, _ s
6262

6363
func testConvertCall() {
6464
// RUN: %refactor -convert-call-to-async-alternative -dump-text -source-filename %s -pos=%(line+1):3 | %FileCheck -check-prefix=CONVERT-CALL %s
65-
mutlipleLabeledResults() { (a, b) in
65+
multipleLabeledResults() { (a, b) in
6666
print(a)
6767
print(b)
6868
}
69-
// CONVERT-CALL: let (a, b) = await mutlipleLabeledResults()
69+
// CONVERT-CALL: let (a, b) = await multipleLabeledResults()
7070
// CONVERT-CALL-NEXT: print(a)
7171
// CONVERT-CALL-NEXT: print(b)
7272
}

0 commit comments

Comments
 (0)