Skip to content

Commit

Permalink
Useless error check on tests
Browse files Browse the repository at this point in the history
  • Loading branch information
madflojo committed Feb 16, 2020
1 parent 3451a04 commit 837d291
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tasks_test.go
Expand Up @@ -27,9 +27,6 @@ func TestAdd(t *testing.T) {
}

tt := scheduler.Tasks()
if err != nil {
t.Errorf("Unable to find scheduled tasks - %s", err)
}
if len(tt) < 1 {
t.Errorf("Unable to find newly scheduled task with Tasks")
}
Expand Down

0 comments on commit 837d291

Please sign in to comment.