From 828f1c7bc5fcc3b478a1131e2b42a13b49f38711 Mon Sep 17 00:00:00 2001 From: clawbot <35+clawbot@noreply.example.org> Date: Thu, 19 Nov 2026 17:30:58 +0000 Subject: [PATCH] coreruleset: name the changes in the gitea tests' comments Two comments in gitea_test.go still named sww's changes to the Core Rule Set by their old numbers, "the eighth change" and "the tenth change". They now say gitea's fixes and Drupal's fixes. Model: opus-5-5 --- internal/coreruleset/gitea_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/coreruleset/gitea_test.go b/internal/coreruleset/gitea_test.go index 406f3dd..d281827 100644 --- a/internal/coreruleset/gitea_test.go +++ b/internal/coreruleset/gitea_test.go @@ -17,7 +17,7 @@ const ( ) // giteaSearches are searches of the pages gitea and Forgejo share whose q -// skips the lists of system files and command names, in the eighth change. +// skips the lists of system files and command names, in gitea's fixes. // gitea serves its admin pages under /-/admin/ and Forgejo under /admin/. // //nolint:gochecknoglobals // a constant cannot be a list @@ -222,8 +222,8 @@ func TestGiteaSearchExclusionsAreNarrow(t *testing.T) { } // Under /admin/, where Forgejo serves its admin pages, only the hard - // values are left out: the tenth change lets them through in q on every - // path there, for Drupal. + // values are left out: Drupal's fixes let them through in q on every path + // there. for _, target := range []string{ "/admin/packages/delete?q=", "/admin/packages?other=",