From b4811abbd63696800d4251574604f6a77a894f4e Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Thu, 10 Jul 2014 09:24:49 -0700 Subject: [PATCH] Address Clayton's comment. --- pkg/registry/pod_registry_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/registry/pod_registry_test.go b/pkg/registry/pod_registry_test.go index 2e6d7b826da..8d547d02f49 100644 --- a/pkg/registry/pod_registry_test.go +++ b/pkg/registry/pod_registry_test.go @@ -310,11 +310,11 @@ func TestFillPodInfo(t *testing.T) { storage.fillPodInfo(&pod) if !reflect.DeepEqual(fakeGetter.info, pod.CurrentState.Info) { - t.Errorf("Unexpected mis-match: %#v vs %#v", fakeGetter.info, pod.CurrentState.Info) + t.Errorf("Expected: %#v, Got %#v", fakeGetter.info, pod.CurrentState.Info) } if pod.CurrentState.PodIP != expectedIP { - t.Errorf("Expected %s, saw %s", expectedIP, pod.CurrentState.PodIP) + t.Errorf("Expected %s, Got %s", expectedIP, pod.CurrentState.PodIP) } } @@ -337,10 +337,10 @@ func TestFillPodInfoNoData(t *testing.T) { storage.fillPodInfo(&pod) if !reflect.DeepEqual(fakeGetter.info, pod.CurrentState.Info) { - t.Errorf("Unexpected mis-match: %#v vs %#v", fakeGetter.info, pod.CurrentState.Info) + t.Errorf("Expected %#v, Got %#v", fakeGetter.info, pod.CurrentState.Info) } if pod.CurrentState.PodIP != expectedIP { - t.Errorf("Expected %s, saw %s", expectedIP, pod.CurrentState.PodIP) + t.Errorf("Expected %s, Got %s", expectedIP, pod.CurrentState.PodIP) } }