aboutsummaryrefslogtreecommitdiffstats
path: root/test/liblll/EndToEndTest.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2016-11-28 19:13:15 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2016-11-30 05:54:27 +0800
commit85ebe4e5c47f47aa46f76043279dc15962b617e4 (patch)
tree98658078d79e15f85f4dff8be6d5c9c9f9376bb9 /test/liblll/EndToEndTest.cpp
parente26466b729de5bbb4cd578272fab2795cb66aee8 (diff)
downloaddexon-solidity-85ebe4e5c47f47aa46f76043279dc15962b617e4.tar.gz
dexon-solidity-85ebe4e5c47f47aa46f76043279dc15962b617e4.tar.zst
dexon-solidity-85ebe4e5c47f47aa46f76043279dc15962b617e4.zip
LLL: check for return value in LLL smoke test
Diffstat (limited to 'test/liblll/EndToEndTest.cpp')
-rw-r--r--test/liblll/EndToEndTest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/liblll/EndToEndTest.cpp b/test/liblll/EndToEndTest.cpp
index c9b571f3..9025689e 100644
--- a/test/liblll/EndToEndTest.cpp
+++ b/test/liblll/EndToEndTest.cpp
@@ -40,6 +40,7 @@ BOOST_AUTO_TEST_CASE(smoke_test)
{
char const* sourceCode = "(returnlll { (return \"test\") })";
compileAndRun(sourceCode);
+ BOOST_CHECK(callContractFunction("") == encodeArgs(string("test", 4)));
}
BOOST_AUTO_TEST_SUITE_END()