rename scheduler rule

This commit is contained in:
AdrianLxM 2021-02-27 01:28:22 +01:00
parent 937cdaf6be
commit 47bc12d6af
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ class RxExtensionsTest {
private val testScheduler = TestScheduler()
@get:Rule
val schedulerRule = TestSchedulerRule(testScheduler)
val schedulerRule = RxSchedulerRule(testScheduler)
@Test
fun `fail after 4 retries`() {

View file

@ -7,7 +7,7 @@ import org.junit.rules.TestRule
import org.junit.runner.Description
import org.junit.runners.model.Statement
class TestSchedulerRule(val scheduler: Scheduler) : TestRule {
class RxSchedulerRule(val scheduler: Scheduler) : TestRule {
override fun apply(base: Statement, description: Description) =
object : Statement() {