aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/SolidityEndToEndTest.cpp
diff options
context:
space:
mode:
authorLiana Husikyan <liana@ethdev.com>2015-06-17 18:06:29 +0800
committerLiana Husikyan <liana@ethdev.com>2015-07-16 19:57:56 +0800
commit3f1042d23bc9bb359b43ef23b924dd2376e28045 (patch)
treeefe690b94342c35dbace35b6fe59d31ccdc01884 /libsolidity/SolidityEndToEndTest.cpp
parentdd1e770009ad9ff0111e4588232aa1ab499ad4e8 (diff)
downloaddexon-solidity-3f1042d23bc9bb359b43ef23b924dd2376e28045.tar.gz
dexon-solidity-3f1042d23bc9bb359b43ef23b924dd2376e28045.tar.zst
dexon-solidity-3f1042d23bc9bb359b43ef23b924dd2376e28045.zip
now for SolidityEndToEndTest we can use compileRequireThrow<typename>
Diffstat (limited to 'libsolidity/SolidityEndToEndTest.cpp')
-rw-r--r--libsolidity/SolidityEndToEndTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/SolidityEndToEndTest.cpp b/libsolidity/SolidityEndToEndTest.cpp
index 70de7be5..d4454514 100644
--- a/libsolidity/SolidityEndToEndTest.cpp
+++ b/libsolidity/SolidityEndToEndTest.cpp
@@ -4668,7 +4668,7 @@ BOOST_AUTO_TEST_CASE(dev_title_at_function_error)
" function mul(uint a, uint second) returns(uint d) { return a * 7 + second; }\n"
"}\n";
- compileRequireThrow(sourceCode);
+ compileRequireThrow<DocstringParsingError>(sourceCode);
}
BOOST_AUTO_TEST_CASE(dev_documenting_nonexistant_param)
@@ -4680,7 +4680,7 @@ BOOST_AUTO_TEST_CASE(dev_documenting_nonexistant_param)
" function mul(uint a, uint second) returns(uint d) { return a * 7 + second; }\n"
"}\n";
- compileRequireThrow(sourceCode);
+ compileRequireThrow<DocstringParsingError>(sourceCode);
}