From b379e39ce81a995812895f4aa4fe079372f76ba0 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 23 May 2026 20:29:29 +0300 Subject: style: run gofmt on all Go source files Fix formatting in 12 files to match gofmt standards. No logical changes. --- integrationtests/cli_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'integrationtests/cli_test.go') diff --git a/integrationtests/cli_test.go b/integrationtests/cli_test.go index deded52..5567ad1 100644 --- a/integrationtests/cli_test.go +++ b/integrationtests/cli_test.go @@ -13,7 +13,7 @@ import ( // buildBinary builds the gt binary to a temporary location. func buildBinary(t *testing.T) string { t.Helper() - + // Get the project root directory projectRoot := os.Getenv("GITHUB_WORKSPACE") if projectRoot == "" { @@ -25,19 +25,19 @@ func buildBinary(t *testing.T) string { if err := buildCmd.Run(); err != nil { t.Fatalf("build failed: %v", err) } - + t.Cleanup(func() { // Explicitly ignore error return from os.Remove during cleanup _ = os.Remove("/tmp/gt-test") }) - + return "/tmp/gt-test" } // TestCLIVersion tests that the version command works correctly. func TestCLIVersion(t *testing.T) { binaryPath := buildBinary(t) - + cmd := exec.Command(binaryPath, "version") output, err := cmd.CombinedOutput() if err != nil { @@ -53,7 +53,7 @@ func TestCLIVersion(t *testing.T) { // TestCLIVersionOnly tests that the version command works correctly. func TestCLIVersionOnly(t *testing.T) { binaryPath := buildBinary(t) - + cmd := exec.Command(binaryPath, "version") output, err := cmd.CombinedOutput() if err != nil { -- cgit v1.2.3