diff options
author | djuju <julfaber@gmail.com> | 2017-04-26 23:03:36 +0800 |
---|---|---|
committer | djuju <julfaber@gmail.com> | 2017-04-27 18:38:24 +0800 |
commit | 99a7aefb752f6b97475fb48da9c1c01d87af3056 (patch) | |
tree | 38cb1023e6a0cd01a93a009abd59d1e4194eefed /test/libsolidity/SolidityABIJSON.cpp | |
parent | 3cbdf6d490c6871d58f12f877cdc84111a7325c1 (diff) | |
download | dexon-solidity-99a7aefb752f6b97475fb48da9c1c01d87af3056.tar dexon-solidity-99a7aefb752f6b97475fb48da9c1c01d87af3056.tar.gz dexon-solidity-99a7aefb752f6b97475fb48da9c1c01d87af3056.tar.bz2 dexon-solidity-99a7aefb752f6b97475fb48da9c1c01d87af3056.tar.lz dexon-solidity-99a7aefb752f6b97475fb48da9c1c01d87af3056.tar.xz dexon-solidity-99a7aefb752f6b97475fb48da9c1c01d87af3056.tar.zst dexon-solidity-99a7aefb752f6b97475fb48da9c1c01d87af3056.zip |
refactoring parse() into two separate functions
Diffstat (limited to 'test/libsolidity/SolidityABIJSON.cpp')
-rw-r--r-- | test/libsolidity/SolidityABIJSON.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/SolidityABIJSON.cpp b/test/libsolidity/SolidityABIJSON.cpp index 043d74ed..bdcc5b10 100644 --- a/test/libsolidity/SolidityABIJSON.cpp +++ b/test/libsolidity/SolidityABIJSON.cpp @@ -42,7 +42,7 @@ public: void checkInterface(std::string const& _code, std::string const& _expectedInterfaceString) { - ETH_TEST_REQUIRE_NO_THROW(m_compilerStack.parse("pragma solidity >=0.0;\n" + _code), "Parsing contract failed"); + ETH_TEST_REQUIRE_NO_THROW(m_compilerStack.parseAndAnalyze("pragma solidity >=0.0;\n" + _code), "Parsing contract failed"); Json::Value generatedInterface = m_compilerStack.metadata("", DocumentationType::ABIInterface); Json::Value expectedInterface; |