Unit Tests

- Fixed more unit tests that were out of synch with the latest
  functionality, text messages or rendering.
This commit is contained in:
Paul Beckingham
2011-08-24 00:47:44 -04:00
parent 6f38e10cab
commit 02df3853f7
4 changed files with 5 additions and 7 deletions

View File

@@ -75,7 +75,7 @@ $output = qx{../src/task rc:wait.rc all status:waiting wait:tomorrow};
like ($output, qr/tomorrow/ms, 'waiting task visible when specifically queried');
$output = qx{../src/task rc:wait.rc add Complain due:today wait:tomorrow};
like ($output, qr/A 'wait' date must be before a 'due' date\./, 'error on wait after due');
like ($output, qr/Warning: You have specified a 'wait' date that is after the 'due' date\./, 'warning on wait after due');
# Cleanup.
unlink 'pending.data';