Unit Tests
- Fixed more unit tests that were out of synch with the latest functionality, text messages or rendering.
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user