diff options
author | Jeremy Rubin <jeremy.l.rubin@gmail.com> | 2016-09-06 16:22:13 -0400 |
---|---|---|
committer | Jeremy Rubin <jeremy.l.rubin@gmail.com> | 2016-09-06 16:22:13 -0400 |
commit | 426e7bce0e365e0947f932ca46bcc48ca3a2f10e (patch) | |
tree | b12281221e0f2c7785475cc9570da3f09d8c35b2 /src | |
parent | 8ea44405e76fadb6459e8913e708bf5f39cbf4c7 (diff) | |
download | bitcoin-426e7bce0e365e0947f932ca46bcc48ca3a2f10e.tar.xz |
Fix obvious assignment/equality error in test
Diffstat (limited to 'src')
-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); |