From f9e8f4b9c1935f7542b27480b795584867e3939b Mon Sep 17 00:00:00 2001 From: Cyrille Nofficial Date: Mon, 18 Apr 2022 22:58:35 +0200 Subject: [PATCH] fix: calendar unit test failing --- calendar/calendar_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calendar/calendar_test.go b/calendar/calendar_test.go index 2756610..1d143c8 100644 --- a/calendar/calendar_test.go +++ b/calendar/calendar_test.go @@ -69,7 +69,7 @@ func TestCalendar_GetHolidaysSet(t *testing.T) { expectedHolidays := []time.Time{ time.Date(2020, time.January, 1, 0, 0, 0, 0, loc), - time.Date(2020, time.April, 12, 0, 0, 0, 0, loc), + time.Date(2020, time.April, 13, 0, 0, 0, 0, loc), time.Date(2020, time.May, 1, 0, 0, 0, 0, loc), time.Date(2020, time.May, 8, 0, 0, 0, 0, loc), time.Date(2020, time.May, 21, 0, 0, 0, 0, loc), @@ -101,7 +101,7 @@ func TestCalendar_IsHolidays(t *testing.T) { expectedHolidays := []time.Time{ time.Date(2020, time.January, 1, 0, 0, 0, 0, loc), - time.Date(2020, time.April, 12, 0, 0, 0, 0, loc), + time.Date(2020, time.April, 13, 0, 0, 0, 0, loc), time.Date(2020, time.May, 1, 0, 0, 0, 0, loc), time.Date(2020, time.May, 8, 0, 0, 0, 0, loc), time.Date(2020, time.May, 21, 0, 0, 0, 0, loc),