mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Expressions
- Eliminated the . prefix for DOM references to the current task - it is unnatural to state ".due < today". - Prioritized parsing dates ahead of integers, which were masking all dates.
This commit is contained in:
parent
e564827be7
commit
09d94a0712
7 changed files with 27 additions and 25 deletions
|
@ -414,9 +414,9 @@ int main (int argc, char** argv)
|
|||
t.diag ("Nibbler::getDOM");
|
||||
|
||||
// positive.
|
||||
n = Nibbler (".due ");
|
||||
t.ok (n.getDOM (s), "'.due' getDOM -> ok");
|
||||
t.is (s, ".due", "'.due' getDOM -> '.due'");
|
||||
n = Nibbler ("due ");
|
||||
t.ok (n.getDOM (s), "'due' getDOM -> ok");
|
||||
t.is (s, "due", "'due' getDOM -> 'due'");
|
||||
|
||||
n = Nibbler ("123.due ");
|
||||
t.ok (n.getDOM (s), "'123.due' getDOM -> ok");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue