Commit 8b171081 authored by Andy Goldstein's avatar Andy Goldstein

Add newline to printf to fix junit

parent c0e79d8d
......@@ -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())
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment