aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/InlineAssembly.cpp
diff options
context:
space:
mode:
authorJason Cobb <jason.e.cobb@gmail.com>2018-04-17 06:46:14 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-06-04 08:04:49 +0800
commit7de0d56aae3cf781d2ebeb54bddf93b3207b8f98 (patch)
treeead6d71d8ad9724826a103cb352cabc1bd205ae9 /test/libsolidity/InlineAssembly.cpp
parent6e29775d39be0c8e1415ee8775ab123c068e02fc (diff)
downloaddexon-solidity-7de0d56aae3cf781d2ebeb54bddf93b3207b8f98.tar.gz
dexon-solidity-7de0d56aae3cf781d2ebeb54bddf93b3207b8f98.tar.zst
dexon-solidity-7de0d56aae3cf781d2ebeb54bddf93b3207b8f98.zip
Remove sha3/suicide from assembly tests
Diffstat (limited to 'test/libsolidity/InlineAssembly.cpp')
-rw-r--r--test/libsolidity/InlineAssembly.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/libsolidity/InlineAssembly.cpp b/test/libsolidity/InlineAssembly.cpp
index 181ca959..3046372f 100644
--- a/test/libsolidity/InlineAssembly.cpp
+++ b/test/libsolidity/InlineAssembly.cpp
@@ -178,9 +178,9 @@ BOOST_AUTO_TEST_CASE(simple_instructions)
BOOST_CHECK(successParse("{ dup1 dup1 mul dup1 sub pop }"));
}
-BOOST_AUTO_TEST_CASE(suicide_selfdestruct)
+BOOST_AUTO_TEST_CASE(selfdestruct)
{
- BOOST_CHECK(successParse("{ 0x01 suicide 0x02 selfdestruct }"));
+ BOOST_CHECK(successParse("{ 0x02 selfdestruct }"));
}
BOOST_AUTO_TEST_CASE(keywords)
@@ -740,8 +740,6 @@ BOOST_AUTO_TEST_CASE(keccak256)
{
BOOST_CHECK(successAssemble("{ 0 0 keccak256 pop }"));
BOOST_CHECK(successAssemble("{ pop(keccak256(0, 0)) }"));
- BOOST_CHECK(successAssemble("{ 0 0 sha3 pop }"));
- BOOST_CHECK(successAssemble("{ pop(sha3(0, 0)) }"));
}
BOOST_AUTO_TEST_CASE(returndatasize)