Skip to content

Commit b999452

Browse files
committed
internal/frontend: remove unused field: addDocQueryParam
Remove unused field: addDocQueryParam, which was caught by this staticcheck error: internal/frontend/server_test.go:72:2: field addDocQueryParam is unused (U1000) Change-Id: I13680024e7ec0011a0af1feb7424fdf83ea72fce Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/241319 Reviewed-by: Jonathan Amsterdam <[email protected]>
1 parent cf6fc82 commit b999452

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

internal/frontend/server_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@ type serverTestCase struct {
6868
name string
6969
// path to use in an HTTP GET request
7070
urlPath string
71-
// whether to mutate the identifier links in documentation.
72-
addDocQueryParam bool
7371
// statusCode we expect to see in the headers.
7472
wantStatusCode int
7573
// if non-empty, contents of Location header. For testing redirects.

0 commit comments

Comments
 (0)