Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
felipenoris committed Sep 25, 2016
1 parent 6760150 commit 96e02d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -358,15 +358,15 @@ for usecache in [false, true]
@test isbday(bd.NullHolidayCalendar(), Date(2016,9,25)) == true
@test isbday(:NullHolidayCalendar, Date(2016,9,25)) == true
@test isbday("NullHolidayCalendar", Date(2016,9,25)) == true
@test bdays(:NullHolidayCalendar, Date(2016,9,25), Date(2016,9,28)) == 3
@test bdays(:NullHolidayCalendar, Date(2016,9,25), Date(2016,9,28)) == Dates.Day(3)

@test isholiday(bd.WeekendsOnly(), Date(2016,9,25)) == false
@test isholiday(:WeekendsOnly, Date(2016,9,25)) == false
@test isholiday("WeekendsOnly", Date(2016,9,25)) == false
@test isbday(bd.WeekendsOnly(), Date(2016,9,25)) == false
@test isbday(:WeekendsOnly, Date(2016,9,25)) == false
@test isbday("WeekendsOnly", Date(2016,9,25)) == false
@test bdays(:WeekendsOnly, Date(2016,9,25), Date(2016,9,28)) == 2
@test bdays(:WeekendsOnly, Date(2016,9,25), Date(2016,9,28)) == Dates.Day(2)


# Brazil HolidayCalendar tests
Expand Down

0 comments on commit 96e02d3

Please sign in to comment.