about summary refs log tree commit diff stats
path: root/test/expression/simplifications.py
diff options
context:
space:
mode:
authorCamille Mougey <commial@gmail.com>2018-10-06 16:43:55 +0200
committerGitHub <noreply@github.com>2018-10-06 16:43:55 +0200
commit369371ca24c5f4fd6670cb36b80fbd29650de7d0 (patch)
tree7b9b319f3f365cb8b71b5dcf1f07f13559798513 /test/expression/simplifications.py
parent75b389f70e7cc6640cbfb62268ba89f8985be1ed (diff)
parent9c4c548e372311f6d685647b3cfed35e1579ad54 (diff)
downloadmiasm-369371ca24c5f4fd6670cb36b80fbd29650de7d0.tar.gz
miasm-369371ca24c5f4fd6670cb36b80fbd29650de7d0.zip
Merge pull request #855 from serpilliere/exprassign
Exprassign
Diffstat (limited to 'test/expression/simplifications.py')
-rw-r--r--test/expression/simplifications.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/expression/simplifications.py b/test/expression/simplifications.py
index 046c948e..68dc0437 100644
--- a/test/expression/simplifications.py
+++ b/test/expression/simplifications.py
@@ -575,9 +575,9 @@ for test, res in match_tests:
 
 
 get_tests = [
-    (ExprAff(ExprMem(a, 32), ExprMem(b, 32)).get_r(True), set([a, b, ExprMem(b, 32)])),
-    (ExprAff(ExprMem(a, 32), ExprMem(b, 32)).get_w(), set([ExprMem(a, 32)])),
-    (ExprAff(ExprMem(ExprMem(a, 32), 32), ExprMem(b, 32))
+    (ExprAssign(ExprMem(a, 32), ExprMem(b, 32)).get_r(True), set([a, b, ExprMem(b, 32)])),
+    (ExprAssign(ExprMem(a, 32), ExprMem(b, 32)).get_w(), set([ExprMem(a, 32)])),
+    (ExprAssign(ExprMem(ExprMem(a, 32), 32), ExprMem(b, 32))
      .get_r(True), set([a, b, ExprMem(b, 32), ExprMem(a, 32)])),
 ]