mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Expression Refactor
- Arguments are now categorized as either "literal" or a specific category, with accompanying type. Type is inferred for literals, and referenced for attributes.
This commit is contained in:
parent
a2a9bfc933
commit
438e65036b
3 changed files with 124 additions and 100 deletions
|
@ -82,9 +82,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 modify +\@1};
|
||||
qx{../src/task rc:bug.rc 2 modify +\@2};
|
||||
qx{../src/task rc:bug.rc 3 modify +\@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');
|
||||
|
@ -102,9 +102,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 modify +\@foo.1};
|
||||
qx{../src/task rc:bug.rc 2 modify +\@foo.2};
|
||||
qx{../src/task rc:bug.rc 3 modify +\@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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue