Skip to content

Commit 4a5ffd9

Browse files
alessionossastackotter
authored andcommitted
Fix tests
1 parent cdf7f06 commit 4a5ffd9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Tests/MacroToolkitTests/MacroToolkitTests.swift

+7-7
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ final class MacroToolkitTests: XCTestCase {
3939
4040
@Before
4141
@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 {
4343
await withCheckedContinuation { continuation in
4444
d(a: a, for: b, value) { returnValue in
4545
continuation.resume(returning: returnValue)
@@ -576,7 +576,7 @@ final class MacroToolkitTests: XCTestCase {
576576
protocol API {
577577
func request(completion: (Int) -> Void)
578578
579-
func request() async -> Int
579+
func request() async -> Int
580580
}
581581
""",
582582
macros: testMacros
@@ -598,9 +598,9 @@ final class MacroToolkitTests: XCTestCase {
598598
func request1(completion: (Int) -> Void)
599599
func request2(completion: (String) -> Void)
600600
601-
func request1() async -> Int
601+
func request1() async -> Int
602602
603-
func request2() async -> String
603+
func request2() async -> String
604604
}
605605
""",
606606
macros: testMacros
@@ -623,7 +623,7 @@ final class MacroToolkitTests: XCTestCase {
623623
completion(0)
624624
}
625625
626-
func request1() async -> Int {
626+
func request1() async -> Int {
627627
await withCheckedContinuation { continuation in
628628
request1() { returnValue in
629629
continuation.resume(returning: returnValue)
@@ -658,15 +658,15 @@ final class MacroToolkitTests: XCTestCase {
658658
completion("")
659659
}
660660
661-
func request1() async -> Int {
661+
func request1() async -> Int {
662662
await withCheckedContinuation { continuation in
663663
request1() { returnValue in
664664
continuation.resume(returning: returnValue)
665665
}
666666
}
667667
}
668668
669-
func request2() async -> String {
669+
func request2() async -> String {
670670
await withCheckedContinuation { continuation in
671671
request2() { returnValue in
672672
continuation.resume(returning: returnValue)

0 commit comments

Comments
 (0)