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,10 +42,10 @@ if (open my $fh, '>', 'bug.rc')
|
||||
# Feature 608: Done should stop a task
|
||||
|
||||
# Setup: Add and start a task
|
||||
qx{../src/task rc:bug.rc add Test due:3d; ../src/task rc:bug.rc start 1};
|
||||
qx{../src/task rc:bug.rc add Test due:3d; ../src/task rc:bug.rc 1 start};
|
||||
|
||||
# Mark the task as completed
|
||||
qx{../src/task rc:bug.rc done 1};
|
||||
qx{../src/task rc:bug.rc 1 done};
|
||||
|
||||
# Check to ensure task was stopped
|
||||
my $output = qx{../src/task rc:bug.rc info 1};
|
||||
|
||||
Reference in New Issue
Block a user