From dbc2bbc7f253def20e3ccf67f6ce4b5035da8ba6 Mon Sep 17 00:00:00 2001 From: romanman Date: Tue, 3 Jun 2014 09:28:14 +0300 Subject: [PATCH] test fix --- .../src/test/java/org/ethereum/serpent/SerpentCompileTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethereumj-core/src/test/java/org/ethereum/serpent/SerpentCompileTest.java b/ethereumj-core/src/test/java/org/ethereum/serpent/SerpentCompileTest.java index cba0952b..5cc387c1 100644 --- a/ethereumj-core/src/test/java/org/ethereum/serpent/SerpentCompileTest.java +++ b/ethereumj-core/src/test/java/org/ethereum/serpent/SerpentCompileTest.java @@ -1306,7 +1306,7 @@ public class SerpentCompileTest { String code = "c = [5]\n" + "a = [11, 22, 33]\n" + "b = a [0]" ; - String expected = "0 31 MSTORE8 MSIZE DUP 32 ADD 5 SWAP MSTORE 64 SWAP MSTORE MSIZE DUP 32 ADD 11 SWAP MSTORE DUP 64 ADD 22 SWAP MSTORE DUP 96 ADD 33 SWAP MSTORE 128 SWAP MSTORE 32 0 MUL 64 ADD 32 ADD MLOAD 0 MSTORE"; + String expected = "0 31 MSTORE8 MSIZE DUP 32 ADD 5 SWAP MSTORE 64 SWAP MSTORE MSIZE DUP 32 ADD 11 SWAP MSTORE DUP 64 ADD 22 SWAP MSTORE DUP 96 ADD 33 SWAP MSTORE 128 SWAP MSTORE 32 0 MUL 96 ADD 32 ADD MLOAD 0 MSTORE"; String asmResult = SerpentCompiler.compile(code); Assert.assertEquals(expected, asmResult);