From 1f777cea162a283a63f4964e65cc7b26d820bc12 Mon Sep 17 00:00:00 2001 From: Jason Hall Date: Fri, 17 Jan 2020 12:53:06 -0500 Subject: [PATCH] Address review comments from #1893 --- pkg/pod/pod_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/pod/pod_test.go b/pkg/pod/pod_test.go index 95b104b17d5..80be50298d9 100644 --- a/pkg/pod/pod_test.go +++ b/pkg/pod/pod_test.go @@ -645,7 +645,7 @@ script-heredoc-randomly-generated-78c5n } if d := cmp.Diff(c.want, &got.Spec, resourceQuantityCmp); d != "" { - t.Errorf("Diff(-want, +got):\n%s", d) + t.Errorf("Diff(-want,+got): %s", d) } }) } @@ -667,7 +667,7 @@ func TestMakeLabels(t *testing.T) { }, }, }) - if d := cmp.Diff(got, want); d != "" { - t.Errorf("Diff labels:\n%s", d) + if d := cmp.Diff(want, got); d != "" { + t.Errorf("Diff(-want,+got): %s", d) } }