We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a2d42a commit ba4d24bCopy full SHA for ba4d24b
middleware_test.go
@@ -30,7 +30,7 @@ func NewNoncedServeMux(t *testing.T) http.Handler {
30
h := http.NewServeMux()
31
h.HandleFunc("/new-nonce", nonced.GetNonce)
32
h.HandleFunc("/do-nonced-something", nonced.DoNoncedFunc)
33
- return Nonced(h, s)
+ return NonceServed(s, "")(Nonced(h, s))
34
}
35
36
func TestNoncedServer(t *testing.T) {
0 commit comments