Skip to content

Commit be89c02

Browse files
RBusarowgithub-actions[bot]
authored andcommitted
Apply changes from ktLintFormat
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 2663c12 commit be89c02

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

workflow-core/src/commonMain/kotlin/com/squareup/workflow1/Sink.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ internal suspend fun <
8585
) {
8686
suspendCancellableCoroutine<Unit> { continuation ->
8787
val resumingAction = object : WorkflowAction<PropsT, StateT, OutputT>() {
88-
override fun toString(): String = "sendAndAwaitApplication(${action})"
88+
override fun toString(): String = "sendAndAwaitApplication($action)"
8989

9090
override fun Updater.apply() {
9191
// Don't execute anything if the caller was cancelled while we were in the queue.

workflow-core/src/commonMain/kotlin/com/squareup/workflow1/WorkflowAction.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public abstract class WorkflowAction<in PropsT, StateT, out OutputT> {
6666
*/
6767
public abstract fun Updater.apply()
6868

69-
public override fun toString(): String = "action(${debuggingName})-@${hashCode()}"
69+
public override fun toString(): String = "action($debuggingName)-@${hashCode()}"
7070

7171
public companion object {
7272
/**

workflow-runtime/src/commonTest/kotlin/com/squareup/workflow1/internal/WorkflowNodeTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1151,7 +1151,7 @@ internal class WorkflowNodeTest {
11511151
@Test fun send_fails_before_render_pass_completed() {
11521152
class TestAction : WorkflowAction<Unit, Nothing, Nothing>() {
11531153
override fun Updater.apply() = fail("Expected sink send to fail.")
1154-
override val debuggingName: String = "TestAction()"
1154+
override val debuggingName: String = "TestAction()"
11551155
}
11561156

11571157
val workflow = Workflow.stateless {

workflow-testing/src/test/java/com/squareup/workflow1/testing/RealRenderTesterTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ internal class RealRenderTesterTest {
185185
@Test fun `sending to sink throws when child output expected`() {
186186
class TestAction : WorkflowAction<Unit, Unit, Nothing>() {
187187
override fun Updater.apply() {}
188-
override val debuggingName: String = "TestAction"
188+
override val debuggingName: String = "TestAction"
189189
}
190190

191191
val workflow = Workflow.stateful<Unit, Nothing, Sink<TestAction>>(

0 commit comments

Comments
 (0)