Commit c984245f authored by zhangxiaoyu-zidif's avatar zhangxiaoyu-zidif

Delete redundant print 'got:'

parent 1bc56825
...@@ -322,7 +322,7 @@ func TestGetRecentUnmetScheduleTimes(t *testing.T) { ...@@ -322,7 +322,7 @@ func TestGetRecentUnmetScheduleTimes(t *testing.T) {
t.Errorf("unexpected error: %v", err) t.Errorf("unexpected error: %v", err)
} }
if len(times) != 0 { if len(times) != 0 {
t.Errorf("expected 0 start times, got: , got: %v", times) t.Errorf("expected 0 start times, got: %v", times)
} }
} }
{ {
...@@ -338,7 +338,7 @@ func TestGetRecentUnmetScheduleTimes(t *testing.T) { ...@@ -338,7 +338,7 @@ func TestGetRecentUnmetScheduleTimes(t *testing.T) {
t.Errorf("unexpected error: %v", err) t.Errorf("unexpected error: %v", err)
} }
if len(times) != 1 { if len(times) != 1 {
t.Errorf("expected 2 start times, got: , got: %v", times) t.Errorf("expected 1 start times, got: %v", times)
} else if !times[0].Equal(T2) { } else if !times[0].Equal(T2) {
t.Errorf("expected: %v, got: %v", T1, times[0]) t.Errorf("expected: %v, got: %v", T1, times[0])
} }
...@@ -354,7 +354,7 @@ func TestGetRecentUnmetScheduleTimes(t *testing.T) { ...@@ -354,7 +354,7 @@ func TestGetRecentUnmetScheduleTimes(t *testing.T) {
t.Errorf("unexpected error: %v", err) t.Errorf("unexpected error: %v", err)
} }
if len(times) != 2 { if len(times) != 2 {
t.Errorf("expected 2 start times, got: , got: %v", times) t.Errorf("expected 2 start times, got: %v", times)
} else { } else {
if !times[0].Equal(T1) { if !times[0].Equal(T1) {
t.Errorf("expected: %v, got: %v", T1, times[0]) t.Errorf("expected: %v, got: %v", T1, times[0])
......
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