mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
refactor: Enable more clang-tidy readability checks (#6595)
Co-authored-by: Sergey Kuznetsov <kuzzz99@gmail.com>
This commit is contained in:
@@ -1898,7 +1898,7 @@ class Vault_test : public beast::unit_test::suite
|
||||
env.close();
|
||||
}
|
||||
},
|
||||
{.requireAuth = false, .initialXRP = acctReserve + incReserve * 4 + 1});
|
||||
{.requireAuth = false, .initialXRP = acctReserve + (incReserve * 4) + 1});
|
||||
|
||||
testCase([this](
|
||||
Env& env,
|
||||
@@ -2745,7 +2745,7 @@ class Vault_test : public beast::unit_test::suite
|
||||
env(vault.withdraw(
|
||||
{.depositor = owner,
|
||||
.id = keylet.key,
|
||||
.amount = asset(Number(1000 + 37 * 5, -1))}));
|
||||
.amount = asset(Number(1000 + (37 * 5), -1))}));
|
||||
|
||||
{
|
||||
BEAST_EXPECT(env.balance(owner, asset) == startingOwnerBalance.value());
|
||||
@@ -2808,7 +2808,7 @@ class Vault_test : public beast::unit_test::suite
|
||||
env(tx);
|
||||
env.close();
|
||||
},
|
||||
CaseArgs{.initialXRP = acctReserve + incReserve * 4 + 1});
|
||||
CaseArgs{.initialXRP = acctReserve + (incReserve * 4) + 1});
|
||||
|
||||
testCase(
|
||||
[&, this](
|
||||
@@ -2843,7 +2843,7 @@ class Vault_test : public beast::unit_test::suite
|
||||
env(tx);
|
||||
env.close();
|
||||
},
|
||||
CaseArgs{.initialXRP = acctReserve + incReserve * 4 + 1});
|
||||
CaseArgs{.initialXRP = acctReserve + (incReserve * 4) + 1});
|
||||
|
||||
testCase([&, this](
|
||||
Env& env,
|
||||
|
||||
Reference in New Issue
Block a user