From ed7ab266081ecc0f2058c9e47b70127ce9d7f048 Mon Sep 17 00:00:00 2001 From: gorhill Date: Mon, 2 Sep 2013 08:05:09 -0400 Subject: [PATCH] added test for specific weekdays of week --- cronexpr_test.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/cronexpr_test.go b/cronexpr_test.go index b874480..25ec128 100644 --- a/cronexpr_test.go +++ b/cronexpr_test.go @@ -107,6 +107,15 @@ var crontests = []crontest{ }, }, + // Specific weekdays of week + { + "0 0 * * 6#5", + "Mon 2006-01-02 15:04", + []crontimes{ + {"2013-09-02 00:00:00", "Sat 2013-11-30 00:00"}, + }, + }, + // TODO: more tests }