mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-05 17:56:49 +00:00
chore: Enable clang-tidy misc checks (#6655)
This commit is contained in:
@@ -877,9 +877,9 @@ public:
|
||||
testcase("TrackOffers");
|
||||
using namespace jtx;
|
||||
Env env(*this);
|
||||
Account gw{"gw"};
|
||||
Account alice{"alice"};
|
||||
Account bob{"bob"};
|
||||
Account const gw{"gw"};
|
||||
Account const alice{"alice"};
|
||||
Account const bob{"bob"};
|
||||
auto wsc = makeWSClient(env.app().config());
|
||||
env.fund(XRP(20000), alice, bob, gw);
|
||||
env.close();
|
||||
@@ -1186,8 +1186,8 @@ public:
|
||||
testcase("BookOffersRPC Errors");
|
||||
using namespace jtx;
|
||||
Env env(*this);
|
||||
Account gw{"gw"};
|
||||
Account alice{"alice"};
|
||||
Account const gw{"gw"};
|
||||
Account const alice{"alice"};
|
||||
env.fund(XRP(10000), alice, gw);
|
||||
env.close();
|
||||
auto USD = gw["USD"];
|
||||
@@ -1515,7 +1515,7 @@ public:
|
||||
testcase("BookOffer Limits");
|
||||
using namespace jtx;
|
||||
Env env{*this, asAdmin ? envconfig() : envconfig(no_admin)};
|
||||
Account gw{"gw"};
|
||||
Account const gw{"gw"};
|
||||
env.fund(XRP(200000), gw);
|
||||
// Note that calls to env.close() fail without admin permission.
|
||||
if (asAdmin)
|
||||
@@ -1562,7 +1562,7 @@ public:
|
||||
featurePermissionedDEX};
|
||||
|
||||
Env env(*this, all);
|
||||
PermissionedDEX permDex(env);
|
||||
PermissionedDEX const permDex(env);
|
||||
auto const alice = permDex.alice;
|
||||
auto const bob = permDex.bob;
|
||||
auto const carol = permDex.carol;
|
||||
@@ -1685,7 +1685,7 @@ public:
|
||||
featurePermissionedDEX};
|
||||
|
||||
Env env(*this, all);
|
||||
PermissionedDEX permDex(env);
|
||||
PermissionedDEX const permDex(env);
|
||||
auto const alice = permDex.alice;
|
||||
auto const bob = permDex.bob;
|
||||
auto const carol = permDex.carol;
|
||||
|
||||
Reference in New Issue
Block a user