style: gofmt alignment in library_browse_test — #367
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:
@@ -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,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user