Skip to content

Commit

Permalink
Show a bit more detail about API tests now there are more
Browse files Browse the repository at this point in the history
Makes it easier to figure out which test failed (if any).
  • Loading branch information
Elliot Smith committed Nov 14, 2023
1 parent 08b9129 commit 8f80c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api-test/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}
}

0 comments on commit 8f80c3b

Please sign in to comment.