Fixing the test

This commit is contained in:
Diptanu Choudhury 2015-11-05 15:26:00 -08:00
parent 86be2bf0be
commit df7391f7df

View file

@ -13,7 +13,7 @@ func TestTaskRunner_ServiceRestartCounter(t *testing.T) {
rt.increment()
rt.increment()
rt.increment()
actual, when := rt.nextRestart()
actual, _ := rt.nextRestart()
if !actual {
t.Fatalf("Expect %v, Actual: %v", true, actual)
}