aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/LibSolc.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-12-20 00:02:28 +0800
committerGitHub <noreply@github.com>2018-12-20 00:02:28 +0800
commitae08d7c375482cef29567e15468e8867380c9cc6 (patch)
treefd162c6117bece7ea548d8d9474f9e217fbb96a6 /test/libsolidity/LibSolc.cpp
parentef59f35a14c6eea65b15ac78db06befb182907c1 (diff)
parent900d100700d6b7ba347bae9779aa7f540387fee8 (diff)
downloaddexon-solidity-ae08d7c375482cef29567e15468e8867380c9cc6.tar
dexon-solidity-ae08d7c375482cef29567e15468e8867380c9cc6.tar.gz
dexon-solidity-ae08d7c375482cef29567e15468e8867380c9cc6.tar.bz2
dexon-solidity-ae08d7c375482cef29567e15468e8867380c9cc6.tar.lz
dexon-solidity-ae08d7c375482cef29567e15468e8867380c9cc6.tar.xz
dexon-solidity-ae08d7c375482cef29567e15468e8867380c9cc6.tar.zst
dexon-solidity-ae08d7c375482cef29567e15468e8867380c9cc6.zip
Merge pull request #5681 from ethereum/limitOutput
Do not compile unless requested.
Diffstat (limited to 'test/libsolidity/LibSolc.cpp')
-rw-r--r--test/libsolidity/LibSolc.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/libsolidity/LibSolc.cpp b/test/libsolidity/LibSolc.cpp
index 09c08700..ec97f22f 100644
--- a/test/libsolidity/LibSolc.cpp
+++ b/test/libsolidity/LibSolc.cpp
@@ -81,7 +81,9 @@ BOOST_AUTO_TEST_CASE(standard_compilation)
// Only tests some assumptions. The StandardCompiler is tested properly in another suite.
BOOST_CHECK(result.isMember("sources"));
- BOOST_CHECK(result.isMember("contracts"));
+ // This used to test that it is a member, but we did not actually request any output,
+ // so there should not be a contract member.
+ BOOST_CHECK(!result.isMember("contracts"));
}
BOOST_AUTO_TEST_SUITE_END()