Skip to content

Commit

Permalink
lballabioGH-727 And another fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
francis committed Nov 17, 2020
1 parent a0cec8c commit 40676c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test-suite/schedule.cpp
Expand Up @@ -703,7 +703,8 @@ void ScheduleTest::testCDSConventionSampleDates() {
tradeDate = Date(20, Jun, 2009);
maturity = Date(20, Dec, 2009);
s = makeCdsSchedule(tradeDate, maturity, rule);
expDates = list_of(Date(20, Mar, 2009))(Date(22, Jun, 2009))(Date(21, Sep, 2009))(Date(20, Dec, 2009));
vector<Date> tmp = list_of(Date(20, Mar, 2009))(Date(22, Jun, 2009))(Date(21, Sep, 2009))(Date(20, Dec, 2009));
expDates.assign(tmp.begin(), tmp.end());
check_dates(s, expDates);

// Move forward to Sun 21 Jun 2009
Expand Down

0 comments on commit 40676c4

Please sign in to comment.