mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Fixed 2 unit tests that behaved wrong at the end/beginning of a year.
This commit is contained in:
parent
3031cf8da9
commit
be75b4bf3a
2 changed files with 10 additions and 2 deletions
|
@ -47,7 +47,7 @@ qx{../task rc:bug.rc 2 due:};
|
|||
# Result: Somehow the due date is incremented and wraps around to 12/31/1969,
|
||||
# then keeps going back to today.
|
||||
my $output = qx{../task rc:bug.rc li};
|
||||
like ($output, qr/^1 task$/ms, 'Should only be one task');
|
||||
unlike ($output, qr/1969/ms, 'Should not display 12/31/1969');
|
||||
|
||||
# Cleanup.
|
||||
unlink 'pending.data';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue