aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2017-01-28 01:27:59 +0800
committerchriseth <c@ethdev.com>2017-02-14 20:23:44 +0800
commitfc8e50f688bad9c13259fc926142b838d7aba5d3 (patch)
treee979781c794dbf111a4e1f31bef95a3e9cd30152 /test
parentd4da4ef35f8118d49bed54f11392036e1d31f7e7 (diff)
downloaddexon-solidity-fc8e50f688bad9c13259fc926142b838d7aba5d3.tar
dexon-solidity-fc8e50f688bad9c13259fc926142b838d7aba5d3.tar.gz
dexon-solidity-fc8e50f688bad9c13259fc926142b838d7aba5d3.tar.bz2
dexon-solidity-fc8e50f688bad9c13259fc926142b838d7aba5d3.tar.lz
dexon-solidity-fc8e50f688bad9c13259fc926142b838d7aba5d3.tar.xz
dexon-solidity-fc8e50f688bad9c13259fc926142b838d7aba5d3.tar.zst
dexon-solidity-fc8e50f688bad9c13259fc926142b838d7aba5d3.zip
Refactor NameAndTypeResolver and SyntaxChecker to allow other entry points.
Diffstat (limited to 'test')
-rw-r--r--test/libsolidity/SolidityNameAndTypeResolution.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/SolidityNameAndTypeResolution.cpp b/test/libsolidity/SolidityNameAndTypeResolution.cpp
index 0151d244..29856d31 100644
--- a/test/libsolidity/SolidityNameAndTypeResolution.cpp
+++ b/test/libsolidity/SolidityNameAndTypeResolution.cpp
@@ -1080,7 +1080,7 @@ BOOST_AUTO_TEST_CASE(modifier_returns_value)
modifier mod(uint a) { _; return 7; }
}
)";
- CHECK_ERROR(text, TypeError, "");
+ CHECK_ERROR(text, TypeError, "Return arguments not allowed.");
}
BOOST_AUTO_TEST_CASE(state_variable_accessors)