Run go fmt
This patch is the result of running `go fmt ./...` with Go v1.16.15.
This commit is contained in:
parent
2a5692d9a7
commit
c1bcc0c517
5 changed files with 16 additions and 16 deletions
|
|
@ -291,7 +291,7 @@ func TestDeleteOldItems(t *testing.T) {
|
|||
})
|
||||
}
|
||||
db.CreateItems(items)
|
||||
|
||||
|
||||
db.SetFeedSize(feed.Id, itemsKeepSize)
|
||||
var feedSize int
|
||||
err := db.db.QueryRow(
|
||||
|
|
@ -302,7 +302,7 @@ func TestDeleteOldItems(t *testing.T) {
|
|||
}
|
||||
if feedSize != itemsKeepSize {
|
||||
t.Fatalf(
|
||||
"expected feed size to get updated\nwant: %d\nhave: %d",
|
||||
"expected feed size to get updated\nwant: %d\nhave: %d",
|
||||
itemsKeepSize+extraItems,
|
||||
feedSize,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue