File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ final class RetryTests: XCTestCase {
2929 var called = 0
3030
3131 // MUT
32- try Retry . attempt ( " " , delay: 0 , retries: 3 ) { currentTry in
32+ try Retry . attempt ( " " , delay: 0 , retries: 3 ) {
3333 called += 1
3434 }
3535
@@ -78,7 +78,7 @@ final class RetryTests: XCTestCase {
7878
7979 // MUT
8080 do {
81- try Retry . attempt ( " " , delay: 0 , retries: 3 ) { currentTry in
81+ try Retry . attempt ( " " , delay: 0 , retries: 3 ) {
8282 called += 1
8383 throw Error ( )
8484 }
@@ -101,7 +101,7 @@ final class RetryTests: XCTestCase {
101101
102102 // MUT
103103 do {
104- try Retry . attempt ( " " , delay: 0 , retries: 3 ) { currentTry in
104+ try Retry . attempt ( " " , delay: 0 , retries: 3 ) {
105105 called += 1
106106 throw Retry . Error. abort ( with: Error ( ) )
107107 }
@@ -121,7 +121,7 @@ final class RetryTests: XCTestCase {
121121 var called = 0
122122
123123 // MUT
124- try await Retry . attempt ( " " , delay: 0 , retries: 3 ) { currentTry in
124+ try await Retry . attempt ( " " , delay: 0 , retries: 3 ) {
125125 await dummyAsyncFunction ( )
126126 called += 1
127127 }
You can’t perform that action at this time.
0 commit comments