aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/SolidityNatspecJSON.cpp
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-08-24 18:15:35 +0800
committerchriseth <c@ethdev.com>2016-09-01 06:03:01 +0800
commit459d2dd7cd599651752543d24b4ebc8a6a248931 (patch)
tree49cc873ebc340819d89851989a79d87a2c734916 /test/libsolidity/SolidityNatspecJSON.cpp
parentd87450b9b2ba110b218c8f58224ca3af4e62993b (diff)
downloaddexon-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.cpp2
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);