changeset 14:facdc089ffbc

add an additional parentheses test
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 03 Jun 2011 12:42:57 -0700
parents ec0e83ec329f
children 6f0c032b65f5
files test.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/test.py	Fri Jun 03 11:15:40 2011 -0700
+++ b/test.py	Fri Jun 03 12:42:57 2011 -0700
@@ -60,6 +60,7 @@
         self.assertTrue(parse("(true || false) && true"))
         self.assertTrue(parse("true && (true || false)"))
         self.assertTrue(parse("true && (true || false)"))
+        self.assertTrue(parse("(true && false) || (true && (true || false))"))
         
 if __name__ == '__main__':
     unittest.main()