mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-19 03:57:17 +02:00
development: use golangci-lint
This commit is contained in:
parent
ab94b49ca6
commit
b85f8de05f
35 changed files with 292 additions and 115 deletions
|
@ -77,7 +77,7 @@ func TestThenFuncConstructsHandlerFunc(t *testing.T) {
|
|||
|
||||
chained.ServeHTTP(rec, (*http.Request)(nil))
|
||||
|
||||
if reflect.TypeOf(chained) != reflect.TypeOf((http.HandlerFunc)(nil)) {
|
||||
if reflect.TypeOf(chained) != reflect.TypeOf(http.HandlerFunc(nil)) {
|
||||
t.Error("ThenFunc does not construct HandlerFunc")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue