aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity
diff options
context:
space:
mode:
authorFederico Bond <federicobond@gmail.com>2017-12-19 23:45:04 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-02-13 06:53:33 +0800
commita320ffeafd62b349f6143ceb6b44547c746b08bc (patch)
tree81b5f8bb705d6f0671914e765ceedfee219905d7 /test/libsolidity
parent954903b50540456906fd7ba909d7d663e2bd7a7f (diff)
downloaddexon-solidity-a320ffeafd62b349f6143ceb6b44547c746b08bc.tar
dexon-solidity-a320ffeafd62b349f6143ceb6b44547c746b08bc.tar.gz
dexon-solidity-a320ffeafd62b349f6143ceb6b44547c746b08bc.tar.bz2
dexon-solidity-a320ffeafd62b349f6143ceb6b44547c746b08bc.tar.lz
dexon-solidity-a320ffeafd62b349f6143ceb6b44547c746b08bc.tar.xz
dexon-solidity-a320ffeafd62b349f6143ceb6b44547c746b08bc.tar.zst
dexon-solidity-a320ffeafd62b349f6143ceb6b44547c746b08bc.zip
Avoid output messages size blow-up using huge bignums literals
Diffstat (limited to 'test/libsolidity')
-rw-r--r--test/libsolidity/SolidityNameAndTypeResolution.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/SolidityNameAndTypeResolution.cpp b/test/libsolidity/SolidityNameAndTypeResolution.cpp
index b3a21671..871806fa 100644
--- a/test/libsolidity/SolidityNameAndTypeResolution.cpp
+++ b/test/libsolidity/SolidityNameAndTypeResolution.cpp
@@ -1752,7 +1752,7 @@ BOOST_AUTO_TEST_CASE(overflow_caused_by_ether_units)
uint256 a;
}
)";
- CHECK_ERROR(sourceCode, TypeError, "Type int_const 115792089237316195423570985008687907853269984665640564039458000000000000000000 is not implicitly convertible to expected type uint256.");
+ CHECK_ERROR(sourceCode, TypeError, "Type int_const 1157...(70 digits omitted)...0000 is not implicitly convertible to expected type uint256.");
}
BOOST_AUTO_TEST_CASE(exp_operator_exponent_too_big)