diff options
author | chriseth <c@ethdev.com> | 2016-08-24 18:15:35 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2016-09-01 06:03:01 +0800 |
commit | 459d2dd7cd599651752543d24b4ebc8a6a248931 (patch) | |
tree | 49cc873ebc340819d89851989a79d87a2c734916 /test/libsolidity/SolidityABIJSON.cpp | |
parent | d87450b9b2ba110b218c8f58224ca3af4e62993b (diff) | |
download | dexon-solidity-459d2dd7cd599651752543d24b4ebc8a6a248931.tar.gz dexon-solidity-459d2dd7cd599651752543d24b4ebc8a6a248931.tar.zst dexon-solidity-459d2dd7cd599651752543d24b4ebc8a6a248931.zip |
Fix version pragmas in tests.
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 6bcc7b3c..ec621104 100644 --- a/test/libsolidity/SolidityABIJSON.cpp +++ b/test/libsolidity/SolidityABIJSON.cpp @@ -39,7 +39,7 @@ public: void checkInterface(std::string const& _code, std::string const& _expectedInterfaceString) { - ETH_TEST_REQUIRE_NO_THROW(m_compilerStack.parse("pragma solidity >=0;\n" + _code), "Parsing contract failed"); + ETH_TEST_REQUIRE_NO_THROW(m_compilerStack.parse("pragma solidity >=0.0;\n" + _code), "Parsing contract failed"); std::string generatedInterfaceString = m_compilerStack.metadata("", DocumentationType::ABIInterface); Json::Value generatedInterface; m_reader.parse(generatedInterfaceString, generatedInterface); |