Skip to content

Commit 74783fa

Browse files
committed
Revert some unnecessary test changes
1 parent cb0d364 commit 74783fa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Tests/RetryTests/RetryTests.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)