aboutsummaryrefslogtreecommitdiffstats
path: root/SolidityEndToEndTest.cpp
diff options
context:
space:
mode:
authorLu Guanqun <guanqun.lu@gmail.com>2015-02-10 22:43:13 +0800
committerLu Guanqun <guanqun.lu@gmail.com>2015-02-10 23:39:13 +0800
commit466f0e01001bae0782d7f41ef944301f1a2e1e7f (patch)
tree16d5c60dc75a60810d059ad595eef5b544fd7b03 /SolidityEndToEndTest.cpp
parent2f15494f83838faf27502fe7bbeb02ffd34e6d46 (diff)
downloaddexon-solidity-466f0e01001bae0782d7f41ef944301f1a2e1e7f.tar
dexon-solidity-466f0e01001bae0782d7f41ef944301f1a2e1e7f.tar.gz
dexon-solidity-466f0e01001bae0782d7f41ef944301f1a2e1e7f.tar.bz2
dexon-solidity-466f0e01001bae0782d7f41ef944301f1a2e1e7f.tar.lz
dexon-solidity-466f0e01001bae0782d7f41ef944301f1a2e1e7f.tar.xz
dexon-solidity-466f0e01001bae0782d7f41ef944301f1a2e1e7f.tar.zst
dexon-solidity-466f0e01001bae0782d7f41ef944301f1a2e1e7f.zip
small fixes per chris's comments
Diffstat (limited to 'SolidityEndToEndTest.cpp')
-rw-r--r--SolidityEndToEndTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/SolidityEndToEndTest.cpp b/SolidityEndToEndTest.cpp
index 74811014..13a666fb 100644
--- a/SolidityEndToEndTest.cpp
+++ b/SolidityEndToEndTest.cpp
@@ -80,7 +80,7 @@ BOOST_AUTO_TEST_CASE(exp_operator_const_signed)
{
char const* sourceCode = R"(
contract test {
- function f() returns(int d) { return -2 ** 3; }
+ function f() returns(int d) { return (-2) ** 3; }
})";
compileAndRun(sourceCode);
BOOST_CHECK(callContractFunction("f()", bytes()) == toBigEndian(u256(-8)));