From 25446f7edb4e77c2d106badf3395dc658d356da2 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Mon, 22 Dec 2025 19:09:52 +0000 Subject: [PATCH] fix: format Go test file alignment - Fix whitespace alignment in argument_syntax_test.go - Applied go fmt to ensure consistent formatting --- cmd/gh-aw/argument_syntax_test.go | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/cmd/gh-aw/argument_syntax_test.go b/cmd/gh-aw/argument_syntax_test.go index 7fc9b77b4c8..b80599d7f48 100644 --- a/cmd/gh-aw/argument_syntax_test.go +++ b/cmd/gh-aw/argument_syntax_test.go @@ -348,9 +348,9 @@ func isValidUseSyntax(use string) bool { // - [arg]... (optional multiple) validPatterns := []string{ - `^<[a-z][a-z0-9-]*>$`, // - `^<[a-z][a-z0-9-]*>\.\.\.$`, // ... - `^\[[a-z][a-z0-9-]*\]$`, // [optional] + `^<[a-z][a-z0-9-]*>$`, // + `^<[a-z][a-z0-9-]*>\.\.\.$`, // ... + `^\[[a-z][a-z0-9-]*\]$`, // [optional] `^\[[a-z][a-z0-9-]*\]\.\.\.$`, // [optional]... } @@ -399,13 +399,13 @@ func TestArgumentNamingConventions(t *testing.T) { // Define naming conventions conventions := map[string]string{ - "workflow": "Workflow-related commands should use 'workflow' for consistency", - "pattern": "Filter/search commands should use 'pattern' or 'filter'", - "run-id": "Audit command should use 'run-id' for clarity", + "workflow": "Workflow-related commands should use 'workflow' for consistency", + "pattern": "Filter/search commands should use 'pattern' or 'filter'", + "run-id": "Audit command should use 'run-id' for clarity", "workflow-spec": "Trial command should use 'workflow-spec' to indicate special format", - "campaign-id": "Campaign new should use 'campaign-id' for clarity", - "pr-url": "PR transfer should use 'pr-url' for clarity", - "server": "MCP commands should use 'server' for MCP server names", + "campaign-id": "Campaign new should use 'campaign-id' for clarity", + "pr-url": "PR transfer should use 'pr-url' for clarity", + "server": "MCP commands should use 'server' for MCP server names", } for _, cmd := range commands {