@@ -39,7 +39,7 @@ final class MacroToolkitTests: XCTestCase {
39
39
40
40
@Before
41
41
@After
42
- func d(a: Int, for b: String, _ value: Double) async -> Bool {
42
+ func d(a: Int, for b: String, _ value: Double) async -> Bool {
43
43
await withCheckedContinuation { continuation in
44
44
d(a: a, for: b, value) { returnValue in
45
45
continuation.resume(returning: returnValue)
@@ -576,7 +576,7 @@ final class MacroToolkitTests: XCTestCase {
576
576
protocol API {
577
577
func request(completion: (Int) -> Void)
578
578
579
- func request() async -> Int
579
+ func request() async -> Int
580
580
}
581
581
""" ,
582
582
macros: testMacros
@@ -598,9 +598,9 @@ final class MacroToolkitTests: XCTestCase {
598
598
func request1(completion: (Int) -> Void)
599
599
func request2(completion: (String) -> Void)
600
600
601
- func request1() async -> Int
601
+ func request1() async -> Int
602
602
603
- func request2() async -> String
603
+ func request2() async -> String
604
604
}
605
605
""" ,
606
606
macros: testMacros
@@ -623,7 +623,7 @@ final class MacroToolkitTests: XCTestCase {
623
623
completion(0)
624
624
}
625
625
626
- func request1() async -> Int {
626
+ func request1() async -> Int {
627
627
await withCheckedContinuation { continuation in
628
628
request1() { returnValue in
629
629
continuation.resume(returning: returnValue)
@@ -658,15 +658,15 @@ final class MacroToolkitTests: XCTestCase {
658
658
completion( " " )
659
659
}
660
660
661
- func request1() async -> Int {
661
+ func request1() async -> Int {
662
662
await withCheckedContinuation { continuation in
663
663
request1() { returnValue in
664
664
continuation.resume(returning: returnValue)
665
665
}
666
666
}
667
667
}
668
668
669
- func request2() async -> String {
669
+ func request2() async -> String {
670
670
await withCheckedContinuation { continuation in
671
671
request2() { returnValue in
672
672
continuation.resume(returning: returnValue)
0 commit comments