Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/plusvic/yara
Browse files Browse the repository at this point in the history
  • Loading branch information
plusvic committed Feb 10, 2015
2 parents 7fa2c1f + 6468404 commit ec05041
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yara-python/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ def testBitwiseOperators(self):
'rule test { condition: 1 << 3 == 8 }',
'rule test { condition: 1 | 3 ^ 3 == 1 | (3 ^ 3) }'
])

self.assertFalseRules([
'rule test { condition: ~0xAA ^ 0x5A & 0xFF == 0x0F }',
'rule test { condition: 1 | 3 ^ 3 == (1 | 3) ^ 3}'
Expand Down Expand Up @@ -827,7 +827,7 @@ def testIntegerFunctions(self):
'rule test { condition: uint8be(0) == 0xAA}',
'rule test { condition: uint16be(0) == 0xAABB}',
'rule test { condition: uint32be(0) == 0xAABBCCDD}',
], '\xAA\xBB\xCC\xDD')
], b'\xAA\xBB\xCC\xDD')


if __name__ == "__main__":
Expand Down

0 comments on commit ec05041

Please sign in to comment.