From 225f5691e6afbeb99c18d91e3511564a93712e11 Mon Sep 17 00:00:00 2001 From: Hugo Porcher Date: Thu, 21 Mar 2019 11:58:04 -0400 Subject: Use moduint instead of python int and fix test --- test/expression/simplifications.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/expression/simplifications.py') diff --git a/test/expression/simplifications.py b/test/expression/simplifications.py index 31d55b71..b1e590ec 100644 --- a/test/expression/simplifications.py +++ b/test/expression/simplifications.py @@ -194,7 +194,7 @@ to_test = [(ExprInt(1, 32) - ExprInt(1, 32), ExprInt(0, 32)), ExprOp('&', a, ExprInt(0xFFFFFFF0, 32))), (ExprCompose(ExprInt(0x1234, 16), ExprId("a", 16)) & ExprInt(0xFF, 32), ExprInt(0x34, 32)), - (ExprCompose(ExprInt(0x12, 8), ExprInt(0x34, 8)) & ExprInt(0xFFFF, 16), ExprInt(0x3412, 32)), + (ExprCompose(ExprInt(0x12, 8), ExprInt(0x34, 8)) & ExprInt(0xFFFF, 16), ExprInt(0x3412, 16)), (ExprCompose(ExprInt(0x12, 8), ExprInt(0x3456, 16), ExprInt(0x78, 8)) & ExprInt(0xFFFFFF, 32), ExprInt(0x345612, 32)), (ExprCompose(ExprInt(0x1234, 16), ExprId("a", 8), ExprInt(0x67, 8)) & ExprInt(0xFFFFFFFF, 32), ExprCompose(ExprInt(0x1234, 16), ExprId("a", 8), ExprInt(0x67, 8))), -- cgit 1.4.1