aboutsummaryrefslogtreecommitdiff
path: root/src/test/main_tests.cpp
diff options
context:
space:
mode:
authorKarl-Johan Alm <karljohan-alm@garage.co.jp>2018-04-09 16:50:19 +0900
committerKarl-Johan Alm <karljohan-alm@garage.co.jp>2018-04-11 13:39:41 +0900
commitc55aa4f27d4fcb1d179fb1b17034476a5918ea85 (patch)
tree3ff1096edd9b06cab9dc1a172900b5672d670430 /src/test/main_tests.cpp
parent27278dffe877ab95488f2e0fada53edb9590487f (diff)
downloadbitcoin-c55aa4f27d4fcb1d179fb1b17034476a5918ea85.tar.xz
test: Fix sign for expected values
A number of BOOST_CHECK_EQUAL calls would result in warnings about signs.
Diffstat (limited to 'src/test/main_tests.cpp')
-rw-r--r--src/test/main_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/main_tests.cpp b/src/test/main_tests.cpp
index a833a5cb1e..570c205731 100644
--- a/src/test/main_tests.cpp
+++ b/src/test/main_tests.cpp
@@ -55,7 +55,7 @@ BOOST_AUTO_TEST_CASE(subsidy_limit_test)
nSum += nSubsidy * 1000;
BOOST_CHECK(MoneyRange(nSum));
}
- BOOST_CHECK_EQUAL(nSum, 2099999997690000ULL);
+ BOOST_CHECK_EQUAL(nSum, CAmount{2099999997690000});
}
bool ReturnFalse() { return false; }