Skip to content

Commit

Permalink
- fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
ariskotsomitopoulos committed Jan 11, 2022
1 parent 1224144 commit 8adeab0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ import org.junit.runners.model.Statement
class RetryTestRule(val retryCount: Int = 3) : TestRule {

override fun apply(base: Statement, description: Description): Statement {
return statement(base, description)
return statement(base)
}

private fun statement(base: Statement, description: Description): Statement {
private fun statement(base: Statement): Statement {
return object : Statement() {
@Throws(Throwable::class)
override fun evaluate() {
Expand Down

0 comments on commit 8adeab0

Please sign in to comment.