Skip to content

Commit 9dc79b3

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 81ae930 commit 9dc79b3

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
@@ -63,7 +63,7 @@ public abstract class WorkflowAction<in PropsT, StateT, out OutputT> {
6363
*/
6464
public abstract fun Updater.apply()
6565

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

6868
public companion object {
6969
/**

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
@@ -188,7 +188,7 @@ internal class RealRenderTesterTest {
188188
@Test fun `sending to sink throws when child output expected`() {
189189
class TestAction : WorkflowAction<Unit, Unit, Nothing>() {
190190
override fun Updater.apply() {}
191-
override val debuggingName: String = "TestAction"
191+
override val debuggingName: String = "TestAction"
192192
}
193193

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

0 commit comments

Comments
 (0)