diff options
author | Joffrey Bion <joffrey.bion@booking.com> | 2020-09-07 23:36:44 +0200 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@booking.com> | 2020-09-08 00:39:01 +0200 |
commit | 9cb098df0ad5978b0e9aac78b4c68c9d16759f0f (patch) | |
tree | b7c4829c163a004a012a3da13183753fe4ee32e6 /sw-ui/src/test/kotlin/org | |
parent | Use port 80 in docker image (diff) | |
download | seven-wonders-9cb098df0ad5978b0e9aac78b4c68c9d16759f0f.tar.gz seven-wonders-9cb098df0ad5978b0e9aac78b4c68c9d16759f0f.tar.bz2 seven-wonders-9cb098df0ad5978b0e9aac78b4c68c9d16759f0f.zip |
Format with trailing comma
Diffstat (limited to 'sw-ui/src/test/kotlin/org')
-rw-r--r-- | sw-ui/src/test/kotlin/org/luxons/sevenwonders/ui/redux/sagas/SagasFrameworkTest.kt | 2 | ||||
-rw-r--r-- | sw-ui/src/test/kotlin/org/luxons/sevenwonders/ui/utils/CoroutineUtilsTest.kt | 4 |
2 files changed, 3 insertions, 3 deletions
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<State, RAction, WrapperAction>, - val sagas: SagaManager<State, RAction, WrapperAction> + val sagas: SagaManager<State, RAction, WrapperAction>, ) @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) } |