Unit Tests
- Fixed some tests so they no longer fail at EOM, by using "30d" to project into the future, instead of just "eom". - The count.t test script has 4 tests still failing at EOM, but warnings are now emitted until we figure out how to improve them. - Added a test to bug.1110.t.
This commit is contained in:
@@ -43,7 +43,7 @@ if (open my $fh, '>', 'due.rc')
|
||||
# should list only the one task.
|
||||
qx{../src/task rc:due.rc add due:yesterday one 2>&1};
|
||||
qx{../src/task rc:due.rc add due:tomorrow two 2>&1};
|
||||
qx{../src/task rc:due.rc add due:eoy three 2>&1};
|
||||
qx{../src/task rc:due.rc add due:30d three 2>&1};
|
||||
my $output = qx{../src/task rc:due.rc overdue 2>&1};
|
||||
like ($output, qr/one/, 'overdue: task 1 shows up');
|
||||
unlike ($output, qr/two/, 'overdue: task 2 does not show up');
|
||||
|
||||
Reference in New Issue
Block a user