Unit Tests
- Corrected test to match newly modified error message.
This commit is contained in:
@@ -76,7 +76,7 @@ like ($output, qr/tomorrow/ms, 'waiting task visible when specifically queried')
|
||||
|
||||
# Message is 'Warning: the wait date falls after the due date.'
|
||||
$output = qx{../task rc:wait.rc add Complain due:today wait:tomorrow};
|
||||
like ($output, qr/A 'wait' date must be after a 'due' date\./, 'error on wait after due');
|
||||
like ($output, qr/A 'wait' date must be before a 'due' date\./, 'error on wait after due');
|
||||
|
||||
# Cleanup.
|
||||
unlink 'pending.data';
|
||||
|
||||
Reference in New Issue
Block a user