Add newline to printf to fix junit

pull/6/head
Andy Goldstein 2016-08-17 10:40:27 -04:00
parent c0e79d8da7
commit 8b171081d1
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ stuff: 1
if err == nil {
t.Fatal("expected error with yaml: prefix, got no error")
}
fmt.Printf("err: %s", err.Error())
fmt.Printf("err: %s\n", err.Error())
if !strings.HasPrefix(err.Error(), "yaml: line 1:") {
t.Fatalf("expected %q to have 'yaml: line 1:' prefix", err.Error())
}