Skip to content

Commit c83de53

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 ca6783b commit c83de53

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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 final override fun toString(): String = "action(${name})-@${hashCode()}"
66+
public final override fun toString(): String = "action($name)-@${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 name: String = "TestAction()"
1154+
override val name: 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 name: String = "TestAction"
191+
override val name: String = "TestAction"
192192
}
193193

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

0 commit comments

Comments
 (0)