diff options
author | Gav Wood <i@gavwood.com> | 2014-10-31 21:35:13 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2014-10-31 21:35:13 +0800 |
commit | 882b8ad089820807e7c63d3b5ae4f01aedba4aa8 (patch) | |
tree | 65b1533376f73d46a9acc1ba37149878155ee331 | |
parent | be45d11e4c3c283912d841376bb2046153b25394 (diff) | |
download | dexon-solidity-882b8ad089820807e7c63d3b5ae4f01aedba4aa8.tar.gz dexon-solidity-882b8ad089820807e7c63d3b5ae4f01aedba4aa8.tar.zst dexon-solidity-882b8ad089820807e7c63d3b5ae4f01aedba4aa8.zip |
Big fixes.
-rw-r--r-- | solidityCompiler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/solidityCompiler.cpp b/solidityCompiler.cpp index 22828238..e0860511 100644 --- a/solidityCompiler.cpp +++ b/solidityCompiler.cpp @@ -214,10 +214,10 @@ BOOST_AUTO_TEST_CASE(unary_operators) byte(eth::Instruction::SUB), byte(eth::Instruction::PUSH1), 0x0, byte(eth::Instruction::SUB), - byte(eth::Instruction::BNOT), + byte(eth::Instruction::NOT), byte(eth::Instruction::PUSH1), 0x2, byte(eth::Instruction::EQ), - byte(eth::Instruction::NOT)}); + byte(eth::Instruction::ISZERO)}); BOOST_CHECK_EQUAL_COLLECTIONS(code.begin(), code.end(), expectation.begin(), expectation.end()); } |