diff --git a/main_test.go b/main_test.go index f4f2690..762ff4a 100644 --- a/main_test.go +++ b/main_test.go @@ -77,6 +77,7 @@ func TestParseConfig(t *testing.T) { } else { if err != nil { t.Errorf("got unexpected error: %v", err) + return } if res.versionPrefix != tc.expect.versionPrefix { t.Errorf("got versionPrefix %s, expected %s", res.versionPrefix, tc.expect.versionPrefix)