From b3936348f53e5df525633cc1e7d3af7ff7f0b61f Mon Sep 17 00:00:00 2001 From: claude Date: Thu, 6 Aug 2026 20:55:53 +0400 Subject: [PATCH] gofmt the act target guard (V-634) Landed unformatted, so make test failed on fmt-check for everyone after. --- cmd/mavend/actions_act.go | 1 - internal/tool/tool_test.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/mavend/actions_act.go b/cmd/mavend/actions_act.go index 024f1b6..ed9321c 100644 --- a/cmd/mavend/actions_act.go +++ b/cmd/mavend/actions_act.go @@ -104,4 +104,3 @@ func (h *reactiveHandler) actionAct(ctx context.Context, dec router.Decision) st } return phraser.A(phraser.ActDone, nil) } - diff --git a/internal/tool/tool_test.go b/internal/tool/tool_test.go index ac98d4c..b69fb74 100644 --- a/internal/tool/tool_test.go +++ b/internal/tool/tool_test.go @@ -328,7 +328,7 @@ func TestExecEmptyCmdRefuses(t *testing.T) { func TestExecRefusesATargetTheSystemCannotHave(t *testing.T) { api := fakeAPI{tools: map[string]ipc.Tool{ "restart": {Name: "restart", Cmd: []string{"systemctl", "restart"}, Status: "enabled"}, - "drop": {Name: "drop", Cmd: []string{"dropdb"}, Destructive: true, Status: "enabled"}, + "drop": {Name: "drop", Cmd: []string{"dropdb"}, Destructive: true, Status: "enabled"}, }} ran := false e := NewExecutor(api, 0)