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