aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-01-04 13:56:12 -0500
committerAllan Wang <me@allanwang.ca>2019-01-04 13:56:12 -0500
commita1cf58e0eee8d16576380e05a8d87e128242bf05 (patch)
tree1e0c2a7403d267a0db0d21e2a86acf2648cd4661 /app
parent96418eb38691b634bb176435b72b49971dc07c27 (diff)
downloadfrost-a1cf58e0eee8d16576380e05a8d87e128242bf05.tar.gz
frost-a1cf58e0eee8d16576380e05a8d87e128242bf05.tar.bz2
frost-a1cf58e0eee8d16576380e05a8d87e128242bf05.zip
Use coroutine version in kau
Diffstat (limited to 'app')
-rw-r--r--app/build.gradle2
-rw-r--r--app/src/test/kotlin/com/pitchedapps/frost/utils/CoroutineTest.kt2
2 files changed, 1 insertions, 3 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 562de936..0cb401fb 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -204,7 +204,7 @@ dependencies {
// androidTestImplementation "io.mockk:mockk:${MOCKK}"
- implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:${COROUTINES}"
+ implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:${kau.coroutines}"
implementation "org.apache.commons:commons-text:${COMMONS_TEXT}"
diff --git a/app/src/test/kotlin/com/pitchedapps/frost/utils/CoroutineTest.kt b/app/src/test/kotlin/com/pitchedapps/frost/utils/CoroutineTest.kt
index 32a781df..e7520794 100644
--- a/app/src/test/kotlin/com/pitchedapps/frost/utils/CoroutineTest.kt
+++ b/app/src/test/kotlin/com/pitchedapps/frost/utils/CoroutineTest.kt
@@ -16,7 +16,6 @@
*/
package com.pitchedapps.frost.utils
-import kotlinx.coroutines.CompletableDeferred
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.GlobalScope
@@ -217,7 +216,6 @@ class CoroutineTest {
@Ignore("Not yet working as unique only buffered removes the capacity limitation of the channel")
@Test
fun uniqueOnlyBuffer() {
- val completable = CompletableDeferred<Int>()
val channel = Channel<Int>(3)
runBlocking {