diff options
author | Jeremy Rubin <jeremy.l.rubin@gmail.com> | 2016-09-06 16:22:13 -0400 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2016-09-21 02:43:47 +0000 |
commit | 03b01966fa4b864c82a7543de0ed52a2c69ed38a (patch) | |
tree | c21b562422a5351d631d0fb74d1868790858077b /src/test/arith_uint256_tests.cpp | |
parent | 8a7d7ffe650d719b0a0ab17d60607e4400dc5408 (diff) | |
download | bitcoin-03b01966fa4b864c82a7543de0ed52a2c69ed38a.tar.xz |
Fix obvious assignment/equality error in test
Github-Pull: #8673
Rebased-From: 426e7bce0e365e0947f932ca46bcc48ca3a2f10e
Diffstat (limited to 'src/test/arith_uint256_tests.cpp')
-rw-r--r-- | src/test/arith_uint256_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/arith_uint256_tests.cpp b/src/test/arith_uint256_tests.cpp index 53ab7e95ee..b19d2faea0 100644 --- a/src/test/arith_uint256_tests.cpp +++ b/src/test/arith_uint256_tests.cpp @@ -112,7 +112,7 @@ BOOST_AUTO_TEST_CASE( basics ) // constructors, equality, inequality BOOST_CHECK( (R1L & arith_uint256("0xffffffffffffffff")) == arith_uint256(R1LLow64)); BOOST_CHECK(ZeroL == arith_uint256(0)); BOOST_CHECK(OneL == arith_uint256(1)); - BOOST_CHECK(arith_uint256("0xffffffffffffffff") = arith_uint256(0xffffffffffffffffULL)); + BOOST_CHECK(arith_uint256("0xffffffffffffffff") == arith_uint256(0xffffffffffffffffULL)); // Assignment (from base_uint) arith_uint256 tmpL = ~ZeroL; BOOST_CHECK(tmpL == ~ZeroL); |