File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
test/refactoring/ConvertAsync Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ func testThrowingContinuationRelayingErrorAndTwoComplexResults(completionHandler
173
173
// THROWING-CONTINUATION-RELAYING-ERROR-AND-TWO-COMPLEX-RESULTS-NEXT: }
174
174
// THROWING-CONTINUATION-RELAYING-ERROR-AND-TWO-COMPLEX-RESULTS-NEXT: }
175
175
176
- // RUN: %refactor -convert-to-async -dump-text -source-filename %s -pos=%(line+1):1 | %FileCheck -check-prefix=THROWING-CONTINUATION-RELAYING-ERROR-AND-COMPLEX-RESULT-WITH-TRAILING-CLOSURE %s
176
+ // RUN: %refactor-check-compiles -convert-to-async -dump-text -source-filename %s -pos=%(line+1):1 | %FileCheck -check-prefix=THROWING-CONTINUATION-RELAYING-ERROR-AND-COMPLEX-RESULT-WITH-TRAILING-CLOSURE %s
177
177
func testThrowingContinuationRelayingErrorAndComplexResultWithTrailingClosure( completionHandler: @escaping ( Int ? , Error ? ) -> Void ) {
178
178
withoutAsyncAlternativeThrowing { ( theValue, theError) in
179
179
completionHandler ( theValue. map { $0 + 1 } , theError)
You can’t perform that action at this time.
0 commit comments