diff options
Diffstat (limited to 'lulu_test.go')
| -rw-r--r-- | lulu_test.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lulu_test.go b/lulu_test.go index 648ede7..613cc4b 100644 --- a/lulu_test.go +++ b/lulu_test.go @@ -88,3 +88,11 @@ func poll(t *testing.T, f func() bool) { } } } + +func mustParseTime(layout, value string) time.Time { + t, err := time.Parse(layout, value) + if err != nil { + panic(err) + } + return t +} |