golint/deadcode/etc.

This commit is contained in:
gorhill
2013-09-07 15:45:21 -04:00
parent e869d999cf
commit 7f9a918f89
2 changed files with 35 additions and 38 deletions

View File

@@ -71,7 +71,7 @@ func Parse(cronLine string) (*Expression, error) {
indices := fieldFinder.FindAllStringIndex(cron, -1)
if len(indices) < 5 {
return nil, fmt.Errorf("Missing field(s)")
return nil, fmt.Errorf("missing field(s)")
}
expr := Expression{}