added test

This commit is contained in:
gorhill 2013-09-11 19:37:42 -04:00
parent 8c982ee625
commit e1010b5ee1
1 changed files with 9 additions and 0 deletions

View File

@ -115,6 +115,15 @@ var crontests = []crontest{
{"2013-12-30 00:30:00", "Fri 2014-01-03 00:00"},
},
},
{
"0 0 * * 6,7",
"Mon 2006-01-02 15:04",
[]crontimes{
{"2013-01-01 00:00:00", "Sat 2013-01-05 00:00"},
{"2013-01-28 00:00:00", "Sat 2013-02-02 00:00"},
{"2013-12-30 00:30:00", "Sat 2014-01-04 00:00"},
},
},
// Specific days of week
{