Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f43b595d2a |
@@ -283,7 +283,7 @@ func TestGeneratePost_URLWithTTLExpires(t *testing.T) {
|
|||||||
imageSrv.ServeHTTP(imageRec, httptest.NewRequestWithContext(
|
imageSrv.ServeHTTP(imageRec, httptest.NewRequestWithContext(
|
||||||
t.Context(), http.MethodGet, match[1], nil))
|
t.Context(), http.MethodGet, match[1], nil))
|
||||||
|
|
||||||
t.Logf("GET %s after the ttl: %d %q", match[1], imageRec.Code, imageRec.Body)
|
t.Logf("GET %s after the ttl: %d %s", match[1], imageRec.Code, imageRec.Body)
|
||||||
|
|
||||||
if imageRec.Code != http.StatusGone {
|
if imageRec.Code != http.StatusGone {
|
||||||
t.Errorf("status after the ttl = %d, want %d",
|
t.Errorf("status after the ttl = %d, want %d",
|
||||||
|
|||||||
Reference in New Issue
Block a user