Address Clayton's comment.

This commit is contained in:
Brendan Burns 2014-07-10 09:24:49 -07:00
parent d5b7c4eb6d
commit b4811abbd6

View File

@ -310,11 +310,11 @@ func TestFillPodInfo(t *testing.T) {
storage.fillPodInfo(&pod) storage.fillPodInfo(&pod)
if !reflect.DeepEqual(fakeGetter.info, pod.CurrentState.Info) { 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 { 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) storage.fillPodInfo(&pod)
if !reflect.DeepEqual(fakeGetter.info, pod.CurrentState.Info) { 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 { 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)
} }
} }