Commit 9ada6b37 authored by zhangxiaoyu-zidif's avatar zhangxiaoyu-zidif

fix error message for cronjob

parent d8205661
...@@ -371,7 +371,7 @@ func TestGetRecentUnmetScheduleTimes(t *testing.T) { ...@@ -371,7 +371,7 @@ func TestGetRecentUnmetScheduleTimes(t *testing.T) {
now := T2.Add(10 * 24 * time.Hour) now := T2.Add(10 * 24 * time.Hour)
_, err := getRecentUnmetScheduleTimes(sj, now) _, err := getRecentUnmetScheduleTimes(sj, now)
if err == nil { if err == nil {
t.Errorf("unexpected lack of error") t.Errorf("expected an error")
} }
} }
{ {
......
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