style: gofmt alignment in library_browse_test — #367
test-go / test (push) Successful in 55s
test-go / integration (push) Successful in 4m58s

One space. `name:` had to align with `query:` inside a composite literal where
both sat on their own lines.

Found via `docker run golang:1.25-alpine gofmt -l`, which is the actual point
of this commit: gofmt is available here the same way sqlc is, and there is no
reason to have let CI discover a formatting nit. Whole tree verified clean, not
just this file.

The substance of 1126bfcf was already sound — verify-generate, vet and the full
integration suite passed, so the genre-splitting behaviour holds against a real
database. Only the formatter objected.
This commit is contained in:
2026-08-05 13:29:28 -04:00
parent 1126bfcf78
commit f8f2273aec
+1 -1
View File
@@ -47,7 +47,7 @@ func TestParseYearFilter(t *testing.T) {
wantErr: errInvertedYearRange,
},
{
name: "whitespace-only values are treated as absent",
name: "whitespace-only values are treated as absent",
query: "year_from=%20&year_to=%20", wantActive: false,
},
}