diff --git a/test/goldenfile/goldenfile.go b/test/goldenfile/goldenfile.go index 96c0827f..0dc29f55 100644 --- a/test/goldenfile/goldenfile.go +++ b/test/goldenfile/goldenfile.go @@ -51,8 +51,8 @@ func WriteFile(p string, content []byte, name string) { } if name == ResultsFilename && string(output) == "[]" { - return - } + return + } if err := ioutil.WriteFile(fmt.Sprintf("%s%c%s", p, os.PathSeparator, sanitizeName(name)), output, os.ModePerm); err != nil { panic(err)