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
|
signalErr error
|
||||||
|
|
||||||
// for handleDash tests
|
// for handleDash tests
|
||||||
presence ipc.Presence
|
presence ipc.Presence
|
||||||
facts []ipc.Fact
|
facts []ipc.Fact
|
||||||
nudges []ipc.Nudge
|
nudges []ipc.Nudge
|
||||||
notes []ipc.Note
|
notes []ipc.Note
|
||||||
dashErr error
|
dashErr error
|
||||||
|
|
||||||
// for handleRevert tests
|
// for handleRevert tests
|
||||||
revertKey string
|
revertKey string
|
||||||
revertNewID int64
|
revertNewID int64
|
||||||
revertErr error
|
revertErr error
|
||||||
|
|
||||||
// for handleNotifications tests
|
// for handleNotifications tests
|
||||||
nudgesErr error
|
nudgesErr error
|
||||||
|
|
||||||
// for handleHistory tests
|
// for handleHistory tests
|
||||||
historyFacts []ipc.Fact
|
historyFacts []ipc.Fact
|
||||||
@@ -712,8 +712,8 @@ func TestHandleTrace(t *testing.T) {
|
|||||||
GateResult: false,
|
GateResult: false,
|
||||||
GateBlockedBy: "quiet_hours",
|
GateBlockedBy: "quiet_hours",
|
||||||
GateDetail: ipc.GateDetail{
|
GateDetail: ipc.GateDetail{
|
||||||
QuietHours: true,
|
QuietHours: true,
|
||||||
Presence: "away",
|
Presence: "away",
|
||||||
SnoozeUntil: &snooze,
|
SnoozeUntil: &snooze,
|
||||||
},
|
},
|
||||||
WasSelected: false,
|
WasSelected: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user