mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-19 19:03:07 +02:00
Unit Tests
- Corrected all unit tests that used the old syntax "task done 1" to use the new syntax "task 1 done". Similarly, "task 1 ..." is now "task 1 modify ...".
This commit is contained in:
parent
9ce7f63d85
commit
ac7bcc81ee
48 changed files with 177 additions and 177 deletions
|
@ -45,7 +45,7 @@ my $output = qx{../src/task rc:prepend.rc info 1};
|
|||
like ($output, qr/Description\s+foo\sbar\n/, 'prepend worked');
|
||||
|
||||
# Should cause an error when nothing is appended.
|
||||
$output = qx{../src/task rc:prepend.rc prepend 1};
|
||||
$output = qx{../src/task rc:prepend.rc 1 prepend};
|
||||
unlike ($output, qr/Prepended 0 tasks/, 'blank prepend failed');
|
||||
|
||||
# Cleanup.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue