From 4370ccb0833841bbfeb442bd34e01ca31259ed88 Mon Sep 17 00:00:00 2001 From: clawbot <35+clawbot@noreply.example.org> Date: Mon, 28 Sep 2026 19:51:14 +0000 Subject: [PATCH] Reword the comment on TestCORSAnswersWithConfiguredOrigin (closes #61) The comment was not a readable sentence; it is now one plain sentence saying what the test checks. Model: opus-5-5 --- internal/middleware/middleware_internal_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/middleware/middleware_internal_test.go b/internal/middleware/middleware_internal_test.go index 3421784..5dac1be 100644 --- a/internal/middleware/middleware_internal_test.go +++ b/internal/middleware/middleware_internal_test.go @@ -10,8 +10,8 @@ import ( ) // TestCORSAnswersWithConfiguredOrigin checks that the CORS middleware -// uses access_control_allow_origin: "*" lets any origin read responses, -// and a single origin lets that origin read them and no other. +// answers with access_control_allow_origin, where "*" lets any origin read +// responses and a single origin lets only that origin read them. func TestCORSAnswersWithConfiguredOrigin(t *testing.T) { t.Parallel()