From adc1ef5443b4cdd0a75794a6f23b1777e37d528b Mon Sep 17 00:00:00 2001 From: drakezhang Date: Thu, 20 Aug 2026 16:49:32 +0800 Subject: [PATCH] fix(cli): wrap overlong t.Errorf so golangci-lint lll passes --- cli/internal/cmdutil/errors_doc_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cli/internal/cmdutil/errors_doc_test.go b/cli/internal/cmdutil/errors_doc_test.go index 6271bf52..32ffa40a 100644 --- a/cli/internal/cmdutil/errors_doc_test.go +++ b/cli/internal/cmdutil/errors_doc_test.go @@ -108,7 +108,9 @@ func TestDocumentedCodes_RegisteredInAllCodes(t *testing.T) { } } if len(stale) > 0 { - t.Errorf("the following error codes are documented in cli/AGENTS.md \"Error code reference\" but are not registered in AllCodes():\n - %s\n\nDrop the row if the code was removed, or register the code if the row is correct.", + t.Errorf("the following error codes are documented in cli/AGENTS.md "+ + "\"Error code reference\" but are not registered in AllCodes():\n - %s\n\n"+ + "Drop the row if the code was removed, or register the code if the row is correct.", strings.Join(stale, "\n - ")) } }