diff options
author | chriseth <chris@ethereum.org> | 2018-02-21 02:30:30 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-02-21 02:31:26 +0800 |
commit | 89a8f4096c6f1cc1025d4026ebfc7b2674330458 (patch) | |
tree | fbe3709ba98c8e3171d0b7652264579ff716eb4c | |
parent | dcc4083b231e3574a64b5b2a329a7401677610da (diff) | |
download | dexon-solidity-89a8f4096c6f1cc1025d4026ebfc7b2674330458.tar dexon-solidity-89a8f4096c6f1cc1025d4026ebfc7b2674330458.tar.gz dexon-solidity-89a8f4096c6f1cc1025d4026ebfc7b2674330458.tar.bz2 dexon-solidity-89a8f4096c6f1cc1025d4026ebfc7b2674330458.tar.lz dexon-solidity-89a8f4096c6f1cc1025d4026ebfc7b2674330458.tar.xz dexon-solidity-89a8f4096c6f1cc1025d4026ebfc7b2674330458.tar.zst dexon-solidity-89a8f4096c6f1cc1025d4026ebfc7b2674330458.zip |
Provide proper input for test call.
-rw-r--r-- | test/libsolidity/SolidityEndToEndTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/libsolidity/SolidityEndToEndTest.cpp b/test/libsolidity/SolidityEndToEndTest.cpp index 4d20f4f5..d2528a67 100644 --- a/test/libsolidity/SolidityEndToEndTest.cpp +++ b/test/libsolidity/SolidityEndToEndTest.cpp @@ -3565,8 +3565,8 @@ BOOST_AUTO_TEST_CASE(library_call_protection) } )"; compileAndRun(sourceCode, 0, "Lib"); - ABI_CHECK(callContractFunction("np(Lib.S storage)"), encodeArgs()); - ABI_CHECK(callContractFunction("v(Lib.S storage)"), encodeArgs(u160(m_sender))); + ABI_CHECK(callContractFunction("np(Lib.S storage)", 0), encodeArgs()); + ABI_CHECK(callContractFunction("v(Lib.S storage)", 0), encodeArgs(u160(m_sender))); ABI_CHECK(callContractFunction("pu()"), encodeArgs(2)); compileAndRun(sourceCode, 0, "Test", bytes(), map<string, Address>{{"Lib", m_contractAddress}}); ABI_CHECK(callContractFunction("s()"), encodeArgs(0)); |