Skip to content

Commit

Permalink
fix reject test
Browse files Browse the repository at this point in the history
  • Loading branch information
umputun committed Sep 22, 2022
1 parent a53c81a commit 04ee52f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion middleware_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ func TestReject(t *testing.T) {
assert.Equal(t, http.StatusForbidden, resp.StatusCode)
b, err := io.ReadAll(resp.Body)
assert.NoError(t, err)
assert.Equal(t, `no no`, string(b))
assert.Equal(t, "no no\n", string(b))
}
}

Expand Down

0 comments on commit 04ee52f

Please sign in to comment.