diff options
Diffstat (limited to 'http/http_test.go')
-rw-r--r-- | http/http_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/http/http_test.go b/http/http_test.go index ac95697..0ca56b2 100644 --- a/http/http_test.go +++ b/http/http_test.go @@ -120,7 +120,7 @@ zdns_requests_total 2 {http.MethodGet, "/metric/v1/?resolution=1m", mr1, 200, jsonMediaType}, {http.MethodGet, "/metric/v1/?resolution=0", mr1, 200, jsonMediaType}, {http.MethodGet, "/metric/v1/?format=foo", `{"status":400,"message":"invalid metric format: foo"}`, 400, jsonMediaType}, - {http.MethodGet, "/metric/v1/?resolution=foo", `{"status":400,"message":"time: invalid duration foo"}`, 400, jsonMediaType}, + {http.MethodGet, "/metric/v1/?resolution=foo", `{"status":400,"message":"time: invalid duration \"foo\""}`, 400, jsonMediaType}, {http.MethodDelete, "/cache/v1/", `{"message":"Cleared cache."}`, 200, jsonMediaType}, } |