Skip to content

Commit

Permalink
[tests] small whitespace fixup
Browse files Browse the repository at this point in the history
Required after scripted-diff in previous commit.
  • Loading branch information
jnewbery committed Apr 21, 2020
1 parent e993696 commit 2685c21
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/coins_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)...);
}

Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 2685c21

Please sign in to comment.