From 9ffefd9e8c3823195d5250554ca8bd9d13b53b51 Mon Sep 17 00:00:00 2001 From: kami Date: Mon, 6 Jul 2026 11:49:03 +0400 Subject: [PATCH] maven: gofmt handlers_test.go (fix stale alignment) The Task-7 verification commit (d52f60c) added the CalendarEvents mock method but left fakeCore's struct block misaligned, so `gofmt -l` still flagged this file despite the "all gates green" claim. Realign it. Co-Authored-By: Claude Opus 4.8 --- cmd/mavweb/handlers_test.go | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/cmd/mavweb/handlers_test.go b/cmd/mavweb/handlers_test.go index 0ed376d..0fb447a 100644 --- a/cmd/mavweb/handlers_test.go +++ b/cmd/mavweb/handlers_test.go @@ -41,19 +41,19 @@ type fakeCore struct { signalErr error // for handleDash tests - presence ipc.Presence - facts []ipc.Fact - nudges []ipc.Nudge - notes []ipc.Note - dashErr error + presence ipc.Presence + facts []ipc.Fact + nudges []ipc.Nudge + notes []ipc.Note + dashErr error // for handleRevert tests - revertKey string - revertNewID int64 - revertErr error + revertKey string + revertNewID int64 + revertErr error // for handleNotifications tests - nudgesErr error + nudgesErr error // for handleHistory tests historyFacts []ipc.Fact @@ -712,8 +712,8 @@ func TestHandleTrace(t *testing.T) { GateResult: false, GateBlockedBy: "quiet_hours", GateDetail: ipc.GateDetail{ - QuietHours: true, - Presence: "away", + QuietHours: true, + Presence: "away", SnoozeUntil: &snooze, }, WasSelected: false,