Skip to content

Commit

Permalink
style: declare empty vars
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Aug 25, 2020
1 parent f6026cf commit be15159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfservice/flow/registration/hook_test.go
Expand Up @@ -39,7 +39,7 @@ func TestRegistrationExecutor(t *testing.T) {
handleErr := testhelpers.SelfServiceHookRegistrationErrorHandler
router.GET("/registration/pre", func(w http.ResponseWriter, r *http.Request, _ httprouter.Params) {
if handleErr(t, w, r, reg.RegistrationHookExecutor().PreRegistrationHook(w, r, registration.NewFlow(time.Minute, x.FakeCSRFToken, r, flow.TypeBrowser))) {
w.Write([]byte("ok"))
_, _ = w.Write([]byte("ok"))
}
})

Expand Down

0 comments on commit be15159

Please sign in to comment.