diff --git a/main_test.go b/main_test.go index f5dad04..89e096f 100644 --- a/main_test.go +++ b/main_test.go @@ -193,7 +193,9 @@ func TestStatusEndpoints(t *testing.T) { expectedCode: 200, expectedBody: `{"v":"dev","commit":"-"}`, expectedContentType: "application/json; charset=utf-8", - // TODO: test cache headers + expectedHeaders: map[string]string{ + "Cache-Control": "no-cache", + }, }, }