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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user