diff options
author | chriseth <c@ethdev.com> | 2016-11-24 19:32:42 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2016-12-01 23:03:59 +0800 |
commit | 1e35526eb6a7c5af074170f6291491d3cb0bd6ba (patch) | |
tree | 41c8a1688197c6b3109e7345b8ca9a520f8eecac /test/libsolidity | |
parent | aa1fd6a879eaedc5c4df2951c06e9dc3eb6eaeb4 (diff) | |
download | dexon-solidity-1e35526eb6a7c5af074170f6291491d3cb0bd6ba.tar.gz dexon-solidity-1e35526eb6a7c5af074170f6291491d3cb0bd6ba.tar.zst dexon-solidity-1e35526eb6a7c5af074170f6291491d3cb0bd6ba.zip |
Fix tests.
Diffstat (limited to 'test/libsolidity')
-rw-r--r-- | test/libsolidity/SolidityEndToEndTest.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/test/libsolidity/SolidityEndToEndTest.cpp b/test/libsolidity/SolidityEndToEndTest.cpp index 47b96dc2..cebd9dfe 100644 --- a/test/libsolidity/SolidityEndToEndTest.cpp +++ b/test/libsolidity/SolidityEndToEndTest.cpp @@ -6547,17 +6547,6 @@ BOOST_AUTO_TEST_CASE(calldata_offset) BOOST_CHECK(callContractFunction("last()", encodeArgs()) == encodeDyn(string("nd"))); } -BOOST_AUTO_TEST_CASE(version_stamp_for_libraries) -{ - char const* sourceCode = "library lib {}"; - m_optimize = true; - bytes runtimeCode = compileAndRun(sourceCode, 0, "lib"); - BOOST_CHECK(runtimeCode.size() >= 8); - BOOST_CHECK_EQUAL(runtimeCode[0], int(Instruction::PUSH6)); // might change once we switch to 1.x.x - BOOST_CHECK_EQUAL(runtimeCode[1], 4); // might change once we switch away from x.4.x - BOOST_CHECK_EQUAL(runtimeCode[7], int(Instruction::POP)); -} - BOOST_AUTO_TEST_CASE(contract_binary_dependencies) { char const* sourceCode = R"( |