From e1010b5ee12a0d02b5fd7241980c2552d264c639 Mon Sep 17 00:00:00 2001 From: gorhill Date: Wed, 11 Sep 2013 19:37:42 -0400 Subject: [PATCH] added test --- cronexpr_test.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/cronexpr_test.go b/cronexpr_test.go index 3692227..9be7eff 100644 --- a/cronexpr_test.go +++ b/cronexpr_test.go @@ -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 {