From 5003ac90ce09727f0cb428a79767c6366909f50c Mon Sep 17 00:00:00 2001 From: Fabio Bonelli Date: Sun, 8 Nov 2026 21:13:41 +0000 Subject: [PATCH] test: cover status cache-control header --- main_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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", + }, }, }