summaryrefslogtreecommitdiff
path: root/coroutine-utils-testing
diff options
context:
space:
mode:
authorrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>2023-04-29 01:28:41 +0000
committerGitHub <noreply@github.com>2023-04-29 01:28:41 +0000
commitd04e1fa368115718a308c123a3b9c18e6626f5f1 (patch)
tree12dd5d3698e9d644bc588b2a58e76048dad7a244 /coroutine-utils-testing
parent251d94c9f3a9186385b5fae358e5384576ab36f2 (diff)
fix(deps): update dependency com.facebook:ktfmt to v0.44 (#2490)
* fix(deps): update dependency com.facebook:ktfmt to v0.44 * chore: reformat with ktfmt 0.44 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'coroutine-utils-testing')
-rw-r--r--coroutine-utils-testing/build.gradle.kts4
-rw-r--r--coroutine-utils-testing/src/main/kotlin/app/passwordstore/test/CoroutineTestRule.kt3
2 files changed, 4 insertions, 3 deletions
diff --git a/coroutine-utils-testing/build.gradle.kts b/coroutine-utils-testing/build.gradle.kts
index 49683422..6b1c3d81 100644
--- a/coroutine-utils-testing/build.gradle.kts
+++ b/coroutine-utils-testing/build.gradle.kts
@@ -2,9 +2,7 @@
* Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-3.0-only
*/
-plugins {
- id("com.github.android-password-store.kotlin-jvm-library")
-}
+plugins { id("com.github.android-password-store.kotlin-jvm-library") }
dependencies {
implementation(projects.coroutineUtils)
diff --git a/coroutine-utils-testing/src/main/kotlin/app/passwordstore/test/CoroutineTestRule.kt b/coroutine-utils-testing/src/main/kotlin/app/passwordstore/test/CoroutineTestRule.kt
index 785d438f..e5e01ba9 100644
--- a/coroutine-utils-testing/src/main/kotlin/app/passwordstore/test/CoroutineTestRule.kt
+++ b/coroutine-utils-testing/src/main/kotlin/app/passwordstore/test/CoroutineTestRule.kt
@@ -28,8 +28,11 @@ public class CoroutineTestRule(
public val testDispatcherProvider: DispatcherProvider =
object : DispatcherProvider {
override fun default(): CoroutineDispatcher = testDispatcher
+
override fun io(): CoroutineDispatcher = testDispatcher
+
override fun main(): CoroutineDispatcher = testDispatcher
+
override fun unconfined(): CoroutineDispatcher = testDispatcher
}