mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-22 14:50:54 +00:00
chore: Enable clang-tidy misc checks (#6655)
This commit is contained in:
@@ -65,7 +65,7 @@ class PaymentSandbox_test : public beast::unit_test::suite
|
||||
env(offer(snd, USD_gw1(2), USD_gw2(2)), txflags(tfPassive));
|
||||
env(offer(snd, USD_gw2(2), USD_gw1(2)), txflags(tfPassive));
|
||||
|
||||
PathSet paths(Path(gw1, USD_gw2, gw2), Path(gw2, USD_gw1, gw1));
|
||||
PathSet const paths(Path(gw1, USD_gw2, gw2), Path(gw2, USD_gw1, gw1));
|
||||
|
||||
env(pay(snd, rcv, any(USD_gw1(4))),
|
||||
json(paths.json()),
|
||||
@@ -266,16 +266,16 @@ class PaymentSandbox_test : public beast::unit_test::suite
|
||||
|
||||
using namespace jtx;
|
||||
|
||||
Env env(*this, features);
|
||||
Env const env(*this, features);
|
||||
|
||||
Account const gw("gw");
|
||||
Account const alice("alice");
|
||||
auto const USD = gw["USD"];
|
||||
|
||||
auto const issue = USD.issue();
|
||||
STAmount tinyAmt(
|
||||
STAmount const tinyAmt(
|
||||
issue, STAmount::cMinValue, STAmount::cMinOffset + 1, false, STAmount::unchecked{});
|
||||
STAmount hugeAmt(
|
||||
STAmount const hugeAmt(
|
||||
issue, STAmount::cMaxValue, STAmount::cMaxOffset - 1, false, STAmount::unchecked{});
|
||||
|
||||
ApplyViewImpl av(&*env.current(), tapNONE);
|
||||
@@ -333,7 +333,7 @@ class PaymentSandbox_test : public beast::unit_test::suite
|
||||
testcase("balanceHook");
|
||||
|
||||
using namespace jtx;
|
||||
Env env(*this, features);
|
||||
Env const env(*this, features);
|
||||
|
||||
Account const gw("gw");
|
||||
auto const USD = gw["USD"];
|
||||
|
||||
Reference in New Issue
Block a user