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:
Paul Beckingham
2012-12-31 10:07:48 -05:00
parent cfac0c42e8
commit a7b20b7a4e
4 changed files with 10 additions and 3 deletions

View File

@@ -301,7 +301,7 @@ $output = qx{../src/task rc:urgency.rc 43 _urgency 2>&1};
like ($output, qr/urgency 18$/ms, '+TAG = 18');
# scheduled 0 (scheduled future)
qx {../src/task rc:urgency.rc add 12a scheduled:eom 2>&1};
qx {../src/task rc:urgency.rc add 12a scheduled:30d 2>&1};
$output = qx{../src/task rc:urgency.rc 44 _urgency 2>&1};
like ($output, qr/urgency 0$/ms, 'scheduled future = 0');