forked from oasis-open/cti-pattern-matcher
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes for the behavior of the 'NOT' qualifier on the 'LIKE',
'ISSUBSET', and 'ISSUPERSET' operators. Before, type-mismatched comparisons would always evaluate to false. Now, comparisons including the 'NOT' operator, eval to true. This issue also affects the 'MATCHES' operator, but is not addressed here, because I have fixes in another branch, and don't want to create needless merge conflicts. Updated tests in test_basic_ops.py according to the above pattern matching changes. Also added some type-mismatched tests of the 'ISSUBSET' and 'ISSUPERSET' operators, which were missing before.
- Loading branch information
Showing
2 changed files
with
28 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters