Skip to content

Commit bb8674d

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/refactoring/ConvertAsync/convert_to_continuation.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -510,12 +510,12 @@ func testReturnNonOptionalValuesForResultAndError(completion: @escaping (Int?, E
510510
// NON-OPTIONAL-VALUE-FOR-RESULT-AND-ERROR-NEXT: }
511511

512512
// RUN: %refactor-check-compiles -convert-to-async -dump-text -source-filename %s -pos=%(line+1):1 | %FileCheck -check-prefix=MIXED-OPTIONAL-AND-NON-OPTIONAL-RESULT %s
513-
func testMixedOptionalAnNonOptionaResults(completion: @escaping (Int?, String?, Error?) -> Void) {
513+
func testMixedOptionalAnNonOptionalResults(completion: @escaping (Int?, String?, Error?) -> Void) {
514514
withoutAsyncAlternativeThrowing { (theResult, error) in
515515
completion(theResult, "hi", nil)
516516
}
517517
}
518-
// MIXED-OPTIONAL-AND-NON-OPTIONAL-RESULT: func testMixedOptionalAnNonOptionaResults() async throws -> (Int, String) {
518+
// MIXED-OPTIONAL-AND-NON-OPTIONAL-RESULT: func testMixedOptionalAnNonOptionalResults() async throws -> (Int, String) {
519519
// MIXED-OPTIONAL-AND-NON-OPTIONAL-RESULT-NEXT: return try await withCheckedThrowingContinuation { continuation in
520520
// MIXED-OPTIONAL-AND-NON-OPTIONAL-RESULT-NEXT: withoutAsyncAlternativeThrowing { (theResult, error) in
521521
// MIXED-OPTIONAL-AND-NON-OPTIONAL-RESULT-NEXT: guard let theResult1 = theResult else {

0 commit comments

Comments
 (0)