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:
Wilhelm Schuermann 2015-04-02 12:45:39 +02:00
parent c1815b8277
commit 70d5f595c7
4 changed files with 6 additions and 17 deletions

View file

@ -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");
}