mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
TW-1584: attr.{isnt,not} use partial matching
- Change attr.{isnt,not} to be the exact opposite of attr{:is,:}, i.e. exact matching. - Fix tests that assumed the old behavior was intended.
This commit is contained in:
parent
c1815b8277
commit
70d5f595c7
4 changed files with 6 additions and 17 deletions
|
@ -1234,7 +1234,7 @@ void CLI::desugarFilterAttributeModifiers ()
|
|||
}
|
||||
else if (modifier == "isnt" || modifier == "not")
|
||||
{
|
||||
op.attribute ("raw", "!=");
|
||||
op.attribute ("raw", "!==");
|
||||
rhs.attribute ("raw", "'" + value + "'");
|
||||
rhs.tag ("LITERAL");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue