From 85ebe4e5c47f47aa46f76043279dc15962b617e4 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Mon, 28 Nov 2016 11:13:15 +0000 Subject: LLL: check for return value in LLL smoke test --- test/liblll/EndToEndTest.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'test/liblll') 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() -- cgit