internal/registrytest: satisfy staticcheck and gopls
authnHandler has been unused since https://cuelang.org/cl/1191618,
and the auth logic now lives in the serveDirectAuth method.
Perhaps this func was left behind as part of a refactor.
Remove a few other unused parameters and declarations,
and actually check an error in the test code.
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Change-Id: I9e445f71a94cebe76356fedbd9126cdcd0657f52
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1194857
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Reviewed-by: Paul Jolly <paul@myitcv.io>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>