From 9cb098df0ad5978b0e9aac78b4c68c9d16759f0f Mon Sep 17 00:00:00 2001 From: Joffrey Bion Date: Mon, 7 Sep 2020 23:36:44 +0200 Subject: Format with trailing comma --- .../org/luxons/sevenwonders/ui/redux/sagas/SagasFrameworkTest.kt | 2 +- .../kotlin/org/luxons/sevenwonders/ui/utils/CoroutineUtilsTest.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'sw-ui/src/test') diff --git a/sw-ui/src/test/kotlin/org/luxons/sevenwonders/ui/redux/sagas/SagasFrameworkTest.kt b/sw-ui/src/test/kotlin/org/luxons/sevenwonders/ui/redux/sagas/SagasFrameworkTest.kt index fd23039c..f580fc93 100644 --- a/sw-ui/src/test/kotlin/org/luxons/sevenwonders/ui/redux/sagas/SagasFrameworkTest.kt +++ b/sw-ui/src/test/kotlin/org/luxons/sevenwonders/ui/redux/sagas/SagasFrameworkTest.kt @@ -36,7 +36,7 @@ private fun configureTestStore(initialState: State): TestRedux { private data class TestRedux( val store: Store, - val sagas: SagaManager + val sagas: SagaManager, ) @OptIn(ExperimentalCoroutinesApi::class) diff --git a/sw-ui/src/test/kotlin/org/luxons/sevenwonders/ui/utils/CoroutineUtilsTest.kt b/sw-ui/src/test/kotlin/org/luxons/sevenwonders/ui/utils/CoroutineUtilsTest.kt index d633f6f2..ba43c33f 100644 --- a/sw-ui/src/test/kotlin/org/luxons/sevenwonders/ui/utils/CoroutineUtilsTest.kt +++ b/sw-ui/src/test/kotlin/org/luxons/sevenwonders/ui/utils/CoroutineUtilsTest.kt @@ -12,12 +12,12 @@ class CoroutineUtilsTest { fun awaitFirstTest(): dynamic = GlobalScope.promise { val s = awaitFirst( { delay(100); "1" }, - { delay(200); "2" } + { delay(200); "2" }, ) assertEquals("1", s) val s2 = awaitFirst( { delay(150); "1" }, - { delay(50); "2" } + { delay(50); "2" }, ) assertEquals("2", s2) } -- cgit