mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-24 13:56:57 +00:00
oops
This commit is contained in:
parent
349eb14969
commit
58993cc324
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ func TestGetNotFound(t *testing.T) {
|
|||
assert.NoError(t, err)
|
||||
if !assert.EqualValues(t, http.StatusNotFound, resp.StatusCode) {
|
||||
t.FailNow()
|
||||
}
|
||||
}
|
||||
assert.EqualValues(t, "text/html; charset=utf-8", resp.Header["Content-Type"][0])
|
||||
assert.EqualValues(t, "37", resp.Header["Content-Length"][0])
|
||||
assert.EqualValues(t, 37, getSize(resp.Body))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue