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/GasMeter.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/GasMeter.cpp')
-rw-r--r-- | test/libsolidity/GasMeter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/GasMeter.cpp b/test/libsolidity/GasMeter.cpp index 603ad683..1f216680 100644 --- a/test/libsolidity/GasMeter.cpp +++ b/test/libsolidity/GasMeter.cpp @@ -46,7 +46,7 @@ public: GasMeterTestFramework() { } void compile(string const& _sourceCode) { - m_compiler.setSource("pragma solidity >= 0;" + _sourceCode); + m_compiler.setSource("pragma solidity >= 0.0;" + _sourceCode); ETH_TEST_REQUIRE_NO_THROW(m_compiler.compile(), "Compiling contract failed"); AssemblyItems const* items = m_compiler.runtimeAssemblyItems(""); |