From 662c567db40a958ce866631d08da0b860f427056 Mon Sep 17 00:00:00 2001 From: gorhill Date: Mon, 2 Sep 2013 16:03:21 -0400 Subject: [PATCH] fixed borken example --- example_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/example_test.go b/example_test.go index 38fa2ea..3dc27d0 100644 --- a/example_test.go +++ b/example_test.go @@ -13,16 +13,16 @@ package cronexpr_test /******************************************************************************/ import ( - "github.com/gorhill/cronexpr" - "fmt" "time" + + "github.com/gorhill/cronexpr" ) /******************************************************************************/ -// ExampleParse -func ExampleParse() { +// ExampleMustParse +func ExampleMustParse() { t := time.Date(2013, time.August, 31, 0, 0, 0, 0, time.UTC) nextTimes := cronexpr.MustParse("0 0 29 2 *").NextN(t, 5) for i := range nextTimes {