diff options
| author | Shulhan <ms@kilabit.info> | 2026-02-09 13:09:15 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2026-02-09 13:09:15 +0700 |
| commit | 98c83f1b87672edd114397c5602de71ca94207dd (patch) | |
| tree | e221485a1c71b056b64ca91e917d76ef79f908ae /server_test.go | |
| parent | 3714f15bf29cfb79c3623784e391a7a4854f6815 (diff) | |
| download | ciigo-98c83f1b87672edd114397c5602de71ca94207dd.tar.xz | |
go.mod: update all dependencies
This update affect the test on onGet, where request to directory that
does not end with slash will be redirected with status code 301 (Moved
Permanently) instead of 302 (Found).
Diffstat (limited to 'server_test.go')
| -rw-r--r-- | server_test.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/server_test.go b/server_test.go index 06b3edf..55950d4 100644 --- a/server_test.go +++ b/server_test.go @@ -200,8 +200,6 @@ func TestCiigoOnGet(t *testing.T) { } var expBody = tdata.Output[`/journal2/index.html`] - var gotBody = redactLastUpdated.ReplaceAll( - result.ResponseBody, []byte("[REDACTED]")) - test.Assert(t, `body`, string(expBody), string(gotBody)) + test.Assert(t, `body`, string(expBody), string(result.ResponseBody)) }) } |
