From fee75104962548404ed2ffc4f6ef9c397b86683f Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sat, 4 Jun 2022 14:41:52 +0530 Subject: Miscellaneous cleanups (#1934) * build-logic: cleanups * coroutine-utils-testing: cleanups * coroutine-utils: cleanups * crypto-common: cleanups * crypto-pgpainless: cleanups * format-common: cleanups --- .../src/main/kotlin/dev/msfjarvis/aps/test/CoroutineTestRule.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'coroutine-utils-testing/src') diff --git a/coroutine-utils-testing/src/main/kotlin/dev/msfjarvis/aps/test/CoroutineTestRule.kt b/coroutine-utils-testing/src/main/kotlin/dev/msfjarvis/aps/test/CoroutineTestRule.kt index fa4a2d41..58ac48c9 100644 --- a/coroutine-utils-testing/src/main/kotlin/dev/msfjarvis/aps/test/CoroutineTestRule.kt +++ b/coroutine-utils-testing/src/main/kotlin/dev/msfjarvis/aps/test/CoroutineTestRule.kt @@ -33,12 +33,12 @@ public class CoroutineTestRule( override fun unconfined(): CoroutineDispatcher = testDispatcher } - override fun starting(description: Description?) { + override fun starting(description: Description) { super.starting(description) Dispatchers.setMain(testDispatcher) } - override fun finished(description: Description?) { + override fun finished(description: Description) { super.finished(description) Dispatchers.resetMain() } -- cgit v1.2.3