1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 17:47:03 +00:00

chore: Update golangci lint to 2.0.x (#572)

* Update to golangci lint 2.0.x

Signed-off-by: James Hillyerd <james@hillyerd.com>

* Fix new lint warnings

Signed-off-by: James Hillyerd <james@hillyerd.com>

---------

Signed-off-by: James Hillyerd <james@hillyerd.com>
This commit is contained in:
James Hillyerd
2025-05-08 21:23:42 -07:00
committed by GitHub
parent 9a2b0f934a
commit cf92969719
6 changed files with 36 additions and 32 deletions

View File

@@ -379,7 +379,7 @@ func testPurge(s storeSuite) {
}
gotEvents = append(gotEvents, ev)
}
assert.Equal(s, len(subjects), len(gotEvents),
assert.Len(s, gotEvents, len(subjects),
"expected delete event for each message in mailbox")
}