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:
@@ -42,7 +42,7 @@ if (open my $fh, '>', 'bug.rc')
|
||||
|
||||
# Add a task that is waiting
|
||||
qx{../src/task rc:bug.rc add One wait:tomorrow};
|
||||
my $output = qx{../src/task rc:bug.rc do 1};
|
||||
my $output = qx{../src/task rc:bug.rc 1 done};
|
||||
like ($output, qr/Marked 1 task as done\./, 'Waiting task marked completed');
|
||||
|
||||
# Cleanup.
|
||||
|
||||
Reference in New Issue
Block a user