Skip to content

Commit

Permalink
Apply changes from ktLintFormat
Browse files Browse the repository at this point in the history
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
RBusarow authored and github-actions[bot] committed Nov 14, 2024
1 parent ca6783b commit c83de53
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public abstract class WorkflowAction<in PropsT, StateT, out OutputT> {
*/
public abstract fun Updater.apply()

public final override fun toString(): String = "action(${name})-@${hashCode()}"
public final override fun toString(): String = "action($name)-@${hashCode()}"

public companion object {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1151,7 +1151,7 @@ internal class WorkflowNodeTest {
@Test fun send_fails_before_render_pass_completed() {
class TestAction : WorkflowAction<Unit, Nothing, Nothing>() {
override fun Updater.apply() = fail("Expected sink send to fail.")
override val name: String = "TestAction()"
override val name: String = "TestAction()"
}

val workflow = Workflow.stateless {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ internal class RealRenderTesterTest {
@Test fun `sending to sink throws when child output expected`() {
class TestAction : WorkflowAction<Unit, Unit, Nothing>() {
override fun Updater.apply() {}
override val name: String = "TestAction"
override val name: String = "TestAction"
}

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

0 comments on commit c83de53

Please sign in to comment.