mirror of
https://github.com/PerMalmberg/libcron.git
synced 2025-04-22 00:13:01 -05:00
Added negative test case.
This commit is contained in:
parent
0436cda4ef
commit
a5201b58ce
@ -211,6 +211,5 @@ SCENARIO("Examples from README.md")
|
||||
|
||||
SCENARIO("Unable to calculate time point")
|
||||
{
|
||||
// TODO: Find a schedule that is unsolvable.
|
||||
//REQUIRE_FALSE(test("0 0 0 1 1 0", DT(2021_y / 12 / 15), DT(2022_y / 1 / 1)));
|
||||
REQUIRE_FALSE(test( "0 0 * 31 FEB *", DT(2021_y / 1 / 1), DT(2022_y / 1 / 1)));
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user