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