Skip to content

Commit

Permalink
Fix typo in error string
Browse files Browse the repository at this point in the history
  • Loading branch information
mileusna committed Aug 20, 2018
1 parent f0b6a6a commit 5ad8aaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crontab.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func (c *Crontab) AddJob(schedule string, fn interface{}, args ...interface{}) e
return fmt.Errorf("Param with index %d shold be `%s` not `%s`", i, t1, t2)
}
if !t2.Implements(t1) {
return fmt.Errorf("Param with index %d of type `%s` doesn't implements interface `%s`", i, t2, t1)
return fmt.Errorf("Param with index %d of type `%s` doesn't implement interface `%s`", i, t2, t1)
}
}
}
Expand Down

0 comments on commit 5ad8aaf

Please sign in to comment.