aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/SolidityParser.cpp
diff options
context:
space:
mode:
authorLianaHus <liana@ethdev.com>2015-10-02 20:41:40 +0800
committerLianaHus <liana@ethdev.com>2015-10-15 02:27:41 +0800
commit742e5b259a8c88e69f09ede7312673157cd77a1f (patch)
tree7d1d44995676d828e216078be7803e80cfaf7d0d /test/libsolidity/SolidityParser.cpp
parent95ad87267878a168dba98d5eb16e27dc9632465d (diff)
downloaddexon-solidity-742e5b259a8c88e69f09ede7312673157cd77a1f.tar
dexon-solidity-742e5b259a8c88e69f09ede7312673157cd77a1f.tar.gz
dexon-solidity-742e5b259a8c88e69f09ede7312673157cd77a1f.tar.bz2
dexon-solidity-742e5b259a8c88e69f09ede7312673157cd77a1f.tar.lz
dexon-solidity-742e5b259a8c88e69f09ede7312673157cd77a1f.tar.xz
dexon-solidity-742e5b259a8c88e69f09ede7312673157cd77a1f.tar.zst
dexon-solidity-742e5b259a8c88e69f09ede7312673157cd77a1f.zip
added Error class for all kind of errors
Conflicts: libsolidity/Exceptions.h
Diffstat (limited to 'test/libsolidity/SolidityParser.cpp')
-rw-r--r--test/libsolidity/SolidityParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/SolidityParser.cpp b/test/libsolidity/SolidityParser.cpp
index 03930479..a90399fc 100644
--- a/test/libsolidity/SolidityParser.cpp
+++ b/test/libsolidity/SolidityParser.cpp
@@ -76,7 +76,7 @@ BOOST_AUTO_TEST_CASE(missing_variable_name_in_declaration)
char const* text = "contract test {\n"
" uint256 ;\n"
"}\n";
- BOOST_CHECK_THROW(parseText(text), ParserError);
+ BOOST_CHECK_THROW(parseText(text), Error);
}
BOOST_AUTO_TEST_CASE(empty_function)