FTC5KIUDC36WLSCVDTCHXGUQV6477N6DS7FRBQ52XXP26U7TJDGQC
OSQWIY7MUQECSM543T4ZML5H3LYLBXNJ5SJQUYXLBVSWK6YSBMYAC
}}func TestGoFmt(t *testing.T) { cmd := exec.Command("go", "fmt", "./...") cmd.Dir = "." out, err := cmd.CombinedOutput() if err != nil { t.Errorf("go fmt failed: %v\n%s", err, out)
}
func TestGoFmt(t *testing.T) {
cmd := exec.Command("go", "fmt", "./...")
cmd.Dir = "."
out, err := cmd.CombinedOutput()
if err != nil {
t.Errorf("go fmt failed: %v\n%s", err, out)
if len(out) > 0 { t.Errorf("go fmt produced output (files needed formatting). Run 'go fmt ./...' to fix:\n%s", out) }
if len(out) > 0 {
t.Errorf("go fmt produced output (files needed formatting). Run 'go fmt ./...' to fix:\n%s", out)