aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/GasMeter.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-09-20 17:52:41 +0800
committerchriseth <chris@ethereum.org>2017-09-22 22:17:28 +0800
commita844bbda48564d65033522a64cef30bff5dea973 (patch)
tree008494a0618051e4d71a2e28b94e436dc34ece6a /test/libsolidity/GasMeter.cpp
parentab8ce58a3e522cfe8d0a36132e5e0b305d4ca052 (diff)
downloaddexon-solidity-a844bbda48564d65033522a64cef30bff5dea973.tar.gz
dexon-solidity-a844bbda48564d65033522a64cef30bff5dea973.tar.zst
dexon-solidity-a844bbda48564d65033522a64cef30bff5dea973.zip
Cleanup test helper macros.
Diffstat (limited to 'test/libsolidity/GasMeter.cpp')
-rw-r--r--test/libsolidity/GasMeter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/GasMeter.cpp b/test/libsolidity/GasMeter.cpp
index df9afaae..b759678f 100644
--- a/test/libsolidity/GasMeter.cpp
+++ b/test/libsolidity/GasMeter.cpp
@@ -50,7 +50,7 @@ public:
m_compiler.reset(false);
m_compiler.addSource("", "pragma solidity >=0.0;\n" + _sourceCode);
m_compiler.setOptimiserSettings(dev::test::Options::get().optimize);
- ETH_TEST_REQUIRE_NO_THROW(m_compiler.compile(), "Compiling contract failed");
+ BOOST_REQUIRE_MESSAGE(m_compiler.compile(), "Compiling contract failed");
AssemblyItems const* items = m_compiler.runtimeAssemblyItems("");
ASTNode const& sourceUnit = m_compiler.ast();