Skip to content

Commit a5201b5

Browse files
committed
Added negative test case.
1 parent 0436cda commit a5201b5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/CronScheduleTest.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,5 @@ SCENARIO("Examples from README.md")
211211

212212
SCENARIO("Unable to calculate time point")
213213
{
214-
// TODO: Find a schedule that is unsolvable.
215-
//REQUIRE_FALSE(test("0 0 0 1 1 0", DT(2021_y / 12 / 15), DT(2022_y / 1 / 1)));
214+
REQUIRE_FALSE(test( "0 0 * 31 FEB *", DT(2021_y / 1 / 1), DT(2022_y / 1 / 1)));
216215
}

0 commit comments

Comments
 (0)