Unit Tests

- Corrected test to match newly modified error message.
This commit is contained in:
Paul Beckingham 2010-10-24 23:49:15 -04:00
parent e6d47f233b
commit ffa1bac193

View file

@ -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';