Skip to content

Commit

Permalink
Fix unused variable in test
Browse files Browse the repository at this point in the history
  • Loading branch information
aarondl committed May 3, 2018
1 parent 5d2a5bd commit 3ab0eff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions register/register_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,10 @@ func TestRegisterPostSuccess(t *testing.T) {
if resp.Code != http.StatusTeapot {
t.Error("code was wrong:", resp.Code)
}

if !afterCalled {
t.Error("the after handler should have been called")
}
})
}

Expand Down

0 comments on commit 3ab0eff

Please sign in to comment.