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:
@@ -46,10 +46,10 @@ qx{../src/task rc:bug.rc add Two};
|
||||
qx{../src/task rc:bug.rc add Three};
|
||||
|
||||
# Complete task 1 and then attempt to complete task 2
|
||||
qx{../src/task rc:bug.rc do 1};
|
||||
qx{../src/task rc:bug.rc 1 done};
|
||||
|
||||
# Result: Immediately delete the created task
|
||||
my $output = qx{../src/task rc:bug.rc do 2};
|
||||
my $output = qx{../src/task rc:bug.rc 2 done};
|
||||
like ($output, qr/Two/ms, 'IDs correctly remain unchanged after done');
|
||||
|
||||
# Cleanup.
|
||||
|
||||
Reference in New Issue
Block a user