aboutsummaryrefslogtreecommitdiffstats
path: root/test/liblll
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2017-06-13 18:28:03 +0800
committerYoichi Hirai <i@yoichihirai.com>2017-06-13 18:28:03 +0800
commitc4f0608b683d30142161aa3c9850e3a981521b53 (patch)
tree680b4a9c0d34c6d759d97630308c123b75f488a6 /test/liblll
parent0909ffc26ee1b616ae2ee9ed44aed64243433f33 (diff)
downloaddexon-solidity-c4f0608b683d30142161aa3c9850e3a981521b53.tar.gz
dexon-solidity-c4f0608b683d30142161aa3c9850e3a981521b53.tar.zst
dexon-solidity-c4f0608b683d30142161aa3c9850e3a981521b53.zip
More informative test
Diffstat (limited to 'test/liblll')
-rw-r--r--test/liblll/EndToEndTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/liblll/EndToEndTest.cpp b/test/liblll/EndToEndTest.cpp
index c511e6f0..c8e7adf1 100644
--- a/test/liblll/EndToEndTest.cpp
+++ b/test/liblll/EndToEndTest.cpp
@@ -284,11 +284,11 @@ BOOST_AUTO_TEST_CASE(zeroarg_macro)
char const* sourceCode = R"(
(returnlll
(seq
- (def 'zeroarg () (asm INVALID))
+ (def 'zeroarg () (seq (mstore 0 0x1234) (return 0 32)))
(zeroarg)))
)";
compileAndRun(sourceCode);
- BOOST_CHECK(callFallback() == encodeArgs());
+ BOOST_CHECK(callFallback() == encodeArgs(u256(0x1234)));
}
BOOST_AUTO_TEST_SUITE_END()