diff options
author | Martin Polden <mpolden@mpolden.no> | 2020-08-15 22:09:45 +0200 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2020-08-15 22:09:45 +0200 |
commit | cfebd00d81e06e6130abfff93824448d7aad5f4b (patch) | |
tree | 29f2ec45268cfb2218226552df1a091c3003fb31 /http | |
parent | 8c0f868b8c56261d20e93232f1684d0105328e1a (diff) |
all: Make tests pass on 1.15
Diffstat (limited to 'http')
-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}, } |