Fix LLL tests.

This commit is contained in:
chriseth 2019-03-25 10:53:49 +01:00
parent 8c388592be
commit 31fa51b1f8

View File

@ -1017,10 +1017,10 @@ BOOST_AUTO_TEST_CASE(string_literal)
{ {
char const* sourceCode = R"( char const* sourceCode = R"(
(returnlll (returnlll
(return \"hello\"))) (return "hello"))
)"; )";
compileAndRun(sourceCode); compileAndRun(sourceCode);
BOOST_CHECK(callFallback() == encodeArgs(u256("68656c6c6f000000000000000000000000000000000000000000000000000000"))); BOOST_CHECK(callFallback() == encodeArgs(u256("0x68656c6c6f000000000000000000000000000000000000000000000000000000")));
} }
BOOST_AUTO_TEST_SUITE_END() BOOST_AUTO_TEST_SUITE_END()