mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-02 23:48:35 +02:00
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:
parent
98391a0c24
commit
fea19e036a
4 changed files with 25 additions and 15 deletions
|
@ -56,8 +56,8 @@ $output = qx{../task rc:undo.rc do 1; ../task rc:undo.rc list};
|
|||
like ($output, qr/^No matches/, 'No matches');
|
||||
|
||||
$output = qx{../task rc:undo.rc undo 1; ../task rc:undo.rc info 1};
|
||||
like ($output, qr/Task 1 not found/, 'task not found');
|
||||
like ($output, qr/reliably undone/, 'can only be reliable undone...');
|
||||
like ($output, qr/Task 1 not found/, 'Task 1 not found');
|
||||
like ($output, qr/No matches/, 'No matches');
|
||||
|
||||
# Cleanup.
|
||||
ok (-r 'pending.data', 'Need to remove pending.data');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue