Unit Tests - confirmation, delete, subst, undo
- Modified unit tests to accommodate changes in the verbose output of task. - Added tests to verify /delete-me// substitutions. - Fixed typos in test descriptions.
This commit is contained in:
@@ -57,7 +57,7 @@ like ($output, qr/^No matches/, 'No matches');
|
||||
ok (-r 'completed.data', 'completed.data created');
|
||||
|
||||
$output = qx{../task rc:undelete.rc undelete 1};
|
||||
like ($output, qr/reliably undeleted/, 'can only be reliable undeleted...');
|
||||
like ($output, qr/Task 1 not found/, 'Task 1 not found');
|
||||
|
||||
$output = qx{../task rc:undelete.rc info 1};
|
||||
like ($output, qr/No matches./, 'no matches');
|
||||
|
||||
Reference in New Issue
Block a user