From 8f80c3bc385804f7f4758275dd0a6c7df1b2cc7c Mon Sep 17 00:00:00 2001 From: Elliot Smith Date: Tue, 14 Nov 2023 15:55:00 +0000 Subject: [PATCH] Show a bit more detail about API tests now there are more Makes it easier to figure out which test failed (if any). --- api-test/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-test/main.go b/api-test/main.go index 5f248ceb..93b3459e 100644 --- a/api-test/main.go +++ b/api-test/main.go @@ -88,6 +88,6 @@ func main() { log.Printf("invalid status code %d; expected: %d", resp.StatusCode, *expectedStatusCode) log.Printf("error response: %s", buf.String()) } else { - log.Printf("Test passed - %d: %s", resp.StatusCode, buf.String()) + log.Printf("Test passed - %s to %s - %d: %s", method, url, resp.StatusCode, buf.String()) } }