Skip to content

Commit

Permalink
linter warning
Browse files Browse the repository at this point in the history
  • Loading branch information
clambin committed Apr 11, 2024
1 parent e4caca3 commit 0482666
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/server/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,8 @@ func TestServer_LogoutHandler(t *testing.T) {
if w.Body.String() != "You have been logged out\n" {
t.Errorf("got %q, want %q", w.Body.String(), "You have been logged out\n")
}
if w.Header().Get("Location") != "" {
if w.Header().Get("Location") == "" {
t.Errorf("Location missing")
}
}

Expand Down

0 comments on commit 0482666

Please # to comment.