Skip to content

Commit

Permalink
appease linter
Browse files Browse the repository at this point in the history
  • Loading branch information
lestrrat committed Sep 1, 2021
1 parent 6ec8411 commit a7763b9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions jwx_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ func TestJWX(t *testing.T) {
}
req = httptest.NewRequest(http.MethodPost, tc.reqURL, strings.NewReader(form.Encode()))
req.Header.Set(echo.HeaderContentType, "application/x-www-form-urlencoded")
req.ParseForm()
_ = req.ParseForm()
} else {
req = httptest.NewRequest(http.MethodGet, tc.reqURL, nil)
}
Expand Down Expand Up @@ -368,8 +368,8 @@ func TestJWXwithKID(t *testing.T) {
if !assert.NoError(t, err, `jwk.New for first key should succeed`) {
return
}
key.Set("alg", jwa.HS256)
key.Set("kid", strings.Replace(raw, "_secret", "One", 1))
_ = key.Set("alg", jwa.HS256)
_ = key.Set("kid", strings.Replace(raw, "_secret", "One", 1))
keys = append(keys, key)
}

Expand Down Expand Up @@ -487,5 +487,5 @@ func ExampleEcho() {
return c.String(http.StatusOK, "Hello, World!")
})

e.Start(":8000")
_ = e.Start(":8000")
}

0 comments on commit a7763b9

Please sign in to comment.