From 8b171081d13cab08542b12d30b1c41c50679575f Mon Sep 17 00:00:00 2001 From: Andy Goldstein Date: Wed, 17 Aug 2016 10:40:27 -0400 Subject: [PATCH] Add newline to printf to fix junit --- pkg/util/yaml/decoder_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/util/yaml/decoder_test.go b/pkg/util/yaml/decoder_test.go index bc8c7698c31..8985907c456 100644 --- a/pkg/util/yaml/decoder_test.go +++ b/pkg/util/yaml/decoder_test.go @@ -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()) }