mirror of
https://github.com/hanzoai/pubsub.git
synced 2026-10-30 15:06:26 +00:00
`go vet ./...` failed, so the gate never reached the tests. Six defects, none
of them subtle once vet names them:
mqtt_test.go — three tables declare wantErr and their bodies read it, but 18
rows across them stopped one value short, so the literals did not compile.
Every one of those cases asserts a specific message, so the value is false.
stree_test.go — IntersectGSL takes `func([]byte, *T) bool`. One callback in
LiteralMatchWithOverlappingPWCs returned nothing, unlike the three
identical callbacks beside it.
log_test.go, monitor_test.go — %q formats a string; both arguments are ints.
filestore_test.go, jetstream_consumer_test.go, raft_test.go — unsafe,
path/filepath and net/url imported and unused.
go vet ./... and go build ./... are both clean now.