Skip to content

Commit fa3a95e

Browse files
committed
Gardening: Migrate test suite to GH issues: refactoring
1 parent a136fc1 commit fa3a95e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

test/refactoring/ConvertAsync/basic.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,9 @@ func genericResult<T>(completion: @escaping (T?, Error?) -> Void) where T: Numer
301301
// GENERIC-RESULT-NEXT: }
302302
// GENERIC-RESULT: func genericResult<T>() async throws -> T where T: Numeric { }
303303

304-
// FIXME: This doesn't compile after refactoring because we aren't using the generic argument `E` in the async method (SR-14560)
304+
// FIXME: This doesn't compile after refactoring because we aren't using the
305+
// generic argument 'E' in the async method
306+
// (https://github.com/apple/swift/issues/56912).
305307
// RUN: %refactor -add-async-alternative -dump-text -source-filename %s -pos=%(line+1):1 | %FileCheck -check-prefix=GENERIC-ERROR %s
306308
func genericError<E>(completion: @escaping (String?, E?) -> Void) where E: Error { }
307309
// GENERIC-ERROR: {

test/refactoring/RefactoringKind/crashers.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func test_42098130<T>(e1: T, e2: E_42098130) {
3939
// RUN: %refactor -source-filename %s -pos=32:3 | %FileCheck %s -check-prefix=CHECK3
4040
// CHECK3: Action begins
4141

42-
// SR-13000
42+
// https://github.com/apple/swift/issues/55445
4343
enum Foo {}
4444
typealias Bar = (Any, Any) -> Foo
4545
extension /*invoke here:*/Bar {}

0 commit comments

Comments
 (0)