CAT-N10: gofmt the integration test

Claude-Session: https://claude.ai/code/session_01JG73KJNrH5EgFXMKKYSrig
This commit is contained in:
2026-11-04 12:34:59 +01:00
parent fa4ccbc0a9
commit 3e019c5d7e
@@ -244,7 +244,11 @@ func TestTheBusModuleRunsWhole(t *testing.T) {
k = newKeeper() k = newKeeper()
stop = run(k) stop = run(k)
eventually(t, "created p drafts", saidHas("created p drafts")) eventually(t, "created p drafts", saidHas("created p drafts"))
eventually(t, "the replay heard", func() bool { info, _ := js.Consumer(ctx, "EVENTS", account.QueueConsumerName()); i, _ := info.Info(ctx); return i.NumPending == 0 && i.NumAckPending == 0 }) eventually(t, "the replay heard", func() bool {
info, _ := js.Consumer(ctx, "EVENTS", account.QueueConsumerName())
i, _ := info.Info(ctx)
return i.NumPending == 0 && i.NumAckPending == 0
})
if saidHas("orphaned p drafts")() { if saidHas("orphaned p drafts")() {
t.Error("the replay at revision 4 orphaned what the first view at 9 asked") t.Error("the replay at revision 4 orphaned what the first view at 9 asked")
} }