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:
@@ -83,9 +83,9 @@ unlike ($output, qr/two/, 'Triple: no t2');
|
||||
unlike ($output, qr/three/, 'Triple: no t3');
|
||||
|
||||
# Once again, with @ characters.
|
||||
qx{../src/task rc:bug.rc 1 +\@1};
|
||||
qx{../src/task rc:bug.rc 2 +\@2};
|
||||
qx{../src/task rc:bug.rc 3 +\@3};
|
||||
qx{../src/task rc:bug.rc 1 modify +\@1};
|
||||
qx{../src/task rc:bug.rc 2 modify +\@2};
|
||||
qx{../src/task rc:bug.rc 3 modify +\@3};
|
||||
|
||||
$output = qx{../src/task rc:bug.rc list -\@1};
|
||||
unlike ($output, qr/one/, 'Single: no @1');
|
||||
@@ -103,9 +103,9 @@ unlike ($output, qr/two/, 'Triple: no @2');
|
||||
unlike ($output, qr/three/, 'Triple: no @3');
|
||||
|
||||
# Once again, with @ characters and punctuation.
|
||||
qx{../src/task rc:bug.rc 1 +\@foo.1};
|
||||
qx{../src/task rc:bug.rc 2 +\@foo.2};
|
||||
qx{../src/task rc:bug.rc 3 +\@foo.3};
|
||||
qx{../src/task rc:bug.rc 1 modify +\@foo.1};
|
||||
qx{../src/task rc:bug.rc 2 modify +\@foo.2};
|
||||
qx{../src/task rc:bug.rc 3 modify +\@foo.3};
|
||||
|
||||
$output = qx{../src/task rc:bug.rc list -\@foo.1};
|
||||
unlike ($output, qr/one/, 'Single: no @foo.1');
|
||||
|
||||
Reference in New Issue
Block a user