We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6068f05 commit 7a2d236Copy full SHA for 7a2d236
handler_test.go
@@ -6,6 +6,6 @@ import (
6
)
7
8
func TestHandler(t *testing.T) {
9
- ctx := context.WithValue(context.TODO(), rspCodeKey{}, &rspCodeVal{})
10
- SetRspCode(ctx, 404)
+ ctx := context.WithValue(context.TODO(), rspStatusCodeKey{}, &rspStatusCodeVal{})
+ SetResponseStatusCode(ctx, 404)
11
}
0 commit comments