aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2020-01-31 14:50:41 -0500
committerJohn Newbery <john@johnnewbery.com>2020-04-21 14:19:15 -0400
commit2685c214cce4b07695273503e60350e3f05fe3e2 (patch)
tree8359d39d12aae942d63bdcca0b4d6744049cc728
parente9936966c08bd8a6ac02828131f619ddaa1ced13 (diff)
downloadbitcoin-2685c214cce4b07695273503e60350e3f05fe3e2.tar.xz
[tests] small whitespace fixup
Required after scripted-diff in previous commit.
-rw-r--r--src/test/coins_tests.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/coins_tests.cpp b/src/test/coins_tests.cpp
index 54e4ca26f1..638ae7d353 100644
--- a/src/test/coins_tests.cpp
+++ b/src/test/coins_tests.cpp
@@ -742,7 +742,7 @@ static void CheckAddCoinBase(CAmount base_value, CAmount cache_value, CAmount mo
template <typename... Args>
static void CheckAddCoin(Args&&... args)
{
- for (const CAmount base_value : {ABSENT, SPENT , VALUE1})
+ for (const CAmount base_value : {ABSENT, SPENT, VALUE1})
CheckAddCoinBase(base_value, std::forward<Args>(args)...);
}
@@ -854,8 +854,8 @@ BOOST_AUTO_TEST_CASE(ccoins_write)
// they would be too repetitive (the parent cache is never updated in these
// cases). The loop below covers these cases and makes sure the parent cache
// is always left unchanged.
- for (const CAmount parent_value : {ABSENT, SPENT , VALUE1})
- for (const CAmount child_value : {ABSENT, SPENT , VALUE2})
+ for (const CAmount parent_value : {ABSENT, SPENT, VALUE1})
+ for (const CAmount child_value : {ABSENT, SPENT, VALUE2})
for (const char parent_flags : parent_value == ABSENT ? ABSENT_FLAGS : FLAGS)
for (const char child_flags : child_value == ABSENT ? ABSENT_FLAGS : CLEAN_FLAGS)
CheckWriteCoins(parent_value, child_value, parent_value, parent_flags, child_flags, parent_flags);