# HG changeset patch # User Jeff Hammel # Date 1307130177 25200 # Node ID facdc089ffbc7bf21bdd5a56b84c739f5ae733d4 # Parent ec0e83ec329fde63f0a1d84d66c71e02f072268e add an additional parentheses test diff -r ec0e83ec329f -r facdc089ffbc test.py --- 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()