Skip to content

Commit 4518829

Browse files
committed
wip
1 parent f682577 commit 4518829

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

now_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,11 +359,11 @@ func TestParse(t *testing.T) {
359359

360360
func TestBetween(t *testing.T) {
361361
tm := time.Date(2015, 06, 30, 17, 51, 49, 123456789, time.Now().Location())
362-
if !With(tm).Between(MustParse("23:28:9 Dec 19, 2013 PST"), MustParse("23:28:9 Dec 19, 2015 PST")) {
362+
if !With(tm).Between("23:28:9 Dec 19, 2013 PST", "23:28:9 Dec 19, 2015 PST") {
363363
t.Errorf("Between")
364364
}
365365

366-
if !With(tm).Between(MustParse("2015-05-12 12:20"), MustParse("2015-06-30 17:51:50")) {
366+
if !With(tm).Between("2015-05-12 12:20", "2015-06-30 17:51:50") {
367367
t.Errorf("Between")
368368
}
369369
}

0 commit comments

Comments
 (0)