Add another test case

This commit is contained in:
Julian Kornberger 2018-01-04 13:32:23 +01:00
parent 5bde7e961e
commit 3748fd91db

View File

@ -129,6 +129,9 @@ func TestSettime(t *testing.T) {
// previous year, otherwise it would be more than 6 months in the future
{"Sep 10 23:00", time.Date(previousYear, time.September, 10, 23, 0, 0, 0, time.UTC)},
// far in the future
{"Jan 23 2019", time.Date(2019, time.January, 23, 0, 0, 0, 0, time.UTC)},
}
for _, test := range tests {