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/SolidityNatspecJSON.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/SolidityNatspecJSON.cpp')
-rw-r--r-- | test/libsolidity/SolidityNatspecJSON.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/SolidityNatspecJSON.cpp b/test/libsolidity/SolidityNatspecJSON.cpp index 4071e973..1f74e928 100644 --- a/test/libsolidity/SolidityNatspecJSON.cpp +++ b/test/libsolidity/SolidityNatspecJSON.cpp @@ -46,7 +46,7 @@ public: ) { std::string generatedDocumentationString; - ETH_TEST_REQUIRE_NO_THROW(m_compilerStack.parse("pragma solidity >=0;\n" + _code), "Parsing failed"); + ETH_TEST_REQUIRE_NO_THROW(m_compilerStack.parse("pragma solidity >=0.0;\n" + _code), "Parsing failed"); if (_userDocumentation) generatedDocumentationString = m_compilerStack.metadata("", DocumentationType::NatspecUser); |