Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
felipenoris committed Mar 11, 2023
1 parent 9c07e21 commit df48833
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/calendar_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -463,17 +463,17 @@ test_bdays(:WeekendsOnly, (2019, 8, 23), (2019, 8, 24), 1)
"2023-01-02", # New Year's Day 2022/2023
"2023-01-16", # Martin Luther King Day
"2023-02-20", # Presidents Day
"2023-04-07", # Good Friday
"2023-05-29", # Memorial Day
"2023-06-19", # Juneteenth
"2023-07-04", # U.S. Independence Day
"2023-09-04", # Labor Day
"2023-10-09", # Columbus Day
"2023-11-10", # Veterans Day
"2023-11-23", # Thanksgiving Day
"2023-12-25", # Christmas Day
])

@test isbday(hc_usgovbond, Dates.Date(2023, 4, 7)) # Early Close is recommended rather than a close to accommodate the release of US employment data

# 2024

@test BusinessDays.listholidays(BusinessDays.USGovernmentBond(), Dates.Date(2024, 1, 1), Dates.Date(2024, 12, 31)) == Dates.Date.([
Expand Down

0 comments on commit df48833

Please sign in to comment.