aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity
diff options
context:
space:
mode:
authorAlbert <me@albert.sh>2018-12-06 08:45:37 +0800
committerAlbert <me@albert.sh>2018-12-06 08:54:04 +0800
commiteee2f2b069982fcd76846be98f7361b45d0c46b2 (patch)
treec6cd9b0c0dd596dc2a12d13b2a68f48248b3adbb /test/libsolidity
parentdf08d79623302d8eb234402c2f4f00f2b06d7646 (diff)
downloaddexon-solidity-eee2f2b069982fcd76846be98f7361b45d0c46b2.tar
dexon-solidity-eee2f2b069982fcd76846be98f7361b45d0c46b2.tar.gz
dexon-solidity-eee2f2b069982fcd76846be98f7361b45d0c46b2.tar.bz2
dexon-solidity-eee2f2b069982fcd76846be98f7361b45d0c46b2.tar.lz
dexon-solidity-eee2f2b069982fcd76846be98f7361b45d0c46b2.tar.xz
dexon-solidity-eee2f2b069982fcd76846be98f7361b45d0c46b2.tar.zst
dexon-solidity-eee2f2b069982fcd76846be98f7361b45d0c46b2.zip
Update test
Diffstat (limited to 'test/libsolidity')
-rw-r--r--test/libsolidity/SolidityExpressionCompiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/SolidityExpressionCompiler.cpp b/test/libsolidity/SolidityExpressionCompiler.cpp
index 8bce26c1..f5c4dc5e 100644
--- a/test/libsolidity/SolidityExpressionCompiler.cpp
+++ b/test/libsolidity/SolidityExpressionCompiler.cpp
@@ -366,7 +366,7 @@ BOOST_AUTO_TEST_CASE(unary_operators)
{
char const* sourceCode = R"(
contract test {
- function f(int y) { !(~+- y == 2); }
+ function f(int y) { !(~- y == 2); }
}
)";
bytes code = compileFirstExpression(sourceCode, {}, {{"test", "f", "y"}});