diff options
author | Joffrey Bion <joffrey.bion@booking.com> | 2020-04-08 00:18:53 +0200 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@booking.com> | 2020-04-08 00:18:53 +0200 |
commit | 8faf8222e2b2f2fa55898614aa537ea6973273b9 (patch) | |
tree | b87dd0c0469c733bdbde8ae8590573c53a6dc6d4 /sw-ui/src/test/kotlin/org | |
parent | Delete unnecessary bettercodehub config (diff) | |
download | seven-wonders-8faf8222e2b2f2fa55898614aa537ea6973273b9.tar.gz seven-wonders-8faf8222e2b2f2fa55898614aa537ea6973273b9.tar.bz2 seven-wonders-8faf8222e2b2f2fa55898614aa537ea6973273b9.zip |
Enable ktlint on sw-ui
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 | 6 |
1 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 8182401f..fd23039c 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 @@ -16,9 +16,9 @@ import kotlin.test.assertEquals private data class State(val data: String) -private data class UpdateData(val newData: String): RAction -private class DuplicateData: RAction -private class SideEffectAction(val data: String): RAction +private data class UpdateData(val newData: String) : RAction +private class DuplicateData : RAction +private class SideEffectAction(val data: String) : RAction private fun reduce(state: State, action: RAction): State = when (action) { is UpdateData -> State(action.newData) |