diff --git a/cmd/ubuntu-image/main_test.go b/cmd/ubuntu-image/main_test.go index 9a334248..ef78bf56 100644 --- a/cmd/ubuntu-image/main_test.go +++ b/cmd/ubuntu-image/main_test.go @@ -186,7 +186,6 @@ func TestExitCode(t *testing.T) { os.Args = append([]string{tc.name}, tc.flags...) // os.Exit will be captured. Run the command with no flags to trigger an error - // imageType = "" main() if got != tc.expected { t.Errorf("Expected exit code: %d, got: %d", tc.expected, got)