diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2022-06-04 14:41:52 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-04 09:11:52 +0000 |
commit | fee75104962548404ed2ffc4f6ef9c397b86683f (patch) | |
tree | 9a33007643184f72bcd98ab70d0cfc91e4e87f7e /coroutine-utils-testing/src | |
parent | ac94b88d870f6c589e051723cf95bfd04032949d (diff) |
Miscellaneous cleanups (#1934)
* build-logic: cleanups
* coroutine-utils-testing: cleanups
* coroutine-utils: cleanups
* crypto-common: cleanups
* crypto-pgpainless: cleanups
* format-common: cleanups
Diffstat (limited to 'coroutine-utils-testing/src')
-rw-r--r-- | coroutine-utils-testing/src/main/kotlin/dev/msfjarvis/aps/test/CoroutineTestRule.kt | 4 |
1 files changed, 2 insertions, 2 deletions
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() } |