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 <noreply@anthropic.com>
This commit is contained in:
+11
-11
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user