about summary refs log tree commit diff stats
path: root/test/expression/expression.py
diff options
context:
space:
mode:
authorCamille Mougey <commial@gmail.com>2016-11-07 12:24:51 +0100
committerGitHub <noreply@github.com>2016-11-07 12:24:51 +0100
commit3af8c4a5a6668cc89a4df3fb66222f4147a896b9 (patch)
tree21a7d7ad5d6da120e8e23e0b92725073d4d4e27c /test/expression/expression.py
parenta15e0faca425c6e2591448e510bf14f1c3f04e14 (diff)
parentf0fbc59a663774dc4f4861308bee3f91ccd9746d (diff)
downloadmiasm-3af8c4a5a6668cc89a4df3fb66222f4147a896b9.tar.gz
miasm-3af8c4a5a6668cc89a4df3fb66222f4147a896b9.zip
Merge pull request #445 from serpilliere/symb_exec_clean
Symb exec clean
Diffstat (limited to 'test/expression/expression.py')
-rw-r--r--test/expression/expression.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/expression/expression.py b/test/expression/expression.py
index 90236744..847ba7eb 100644
--- a/test/expression/expression.py
+++ b/test/expression/expression.py
@@ -30,10 +30,10 @@ for expr in [
         A + cst1,
         A + ExprCond(cond1, cst1, cst2),
         ExprCond(cond1, cst1, cst2) + ExprCond(cond2, cst3, cst4),
-        ExprCompose([(A, 0, 32), (cst1, 32, 64)]),
-        ExprCompose([(ExprCond(cond1, cst1, cst2), 0, 32), (A, 32, 64)]),
-        ExprCompose([(ExprCond(cond1, cst1, cst2), 0, 32),
-                     (ExprCond(cond2, cst3, cst4), 32, 64)]),
+        ExprCompose(A, cst1),
+        ExprCompose(ExprCond(cond1, cst1, cst2), A),
+        ExprCompose(ExprCond(cond1, cst1, cst2),
+                    ExprCond(cond2, cst3, cst4)),
         ExprCond(ExprCond(cond1, cst1, cst2), cst3, cst4),
 ]:
     print "*" * 80