chore: Set ColumnLimit to 120 in clang-format (#6288)

This change updates the ColumnLimit from 80 to 120, and applies clang-format to reformat the code.
This commit is contained in:
Ayaz Salikhov
2026-01-28 18:09:50 +00:00
committed by GitHub
parent 92046785d1
commit 5f638f5553
1016 changed files with 26918 additions and 66660 deletions

View File

@@ -12,16 +12,12 @@ struct SetAuth_test : public beast::unit_test::suite
// If the trust line does not exist, then it should
// be created under the new rules.
static Json::Value
auth(
jtx::Account const& account,
jtx::Account const& dest,
std::string const& currency)
auth(jtx::Account const& account, jtx::Account const& dest, std::string const& currency)
{
using namespace jtx;
Json::Value jv;
jv[jss::Account] = account.human();
jv[jss::LimitAmount] = STAmount(Issue{to_currency(currency), dest})
.getJson(JsonOptions::none);
jv[jss::LimitAmount] = STAmount(Issue{to_currency(currency), dest}).getJson(JsonOptions::none);
jv[jss::TransactionType] = jss::TrustSet;
jv[jss::Flags] = tfSetfAuth;
return jv;
@@ -40,8 +36,7 @@ struct SetAuth_test : public beast::unit_test::suite
env(fset(gw, asfRequireAuth));
env.close();
env(auth(gw, "alice", "USD"));
BEAST_EXPECT(
env.le(keylet::line(Account("alice").id(), gw.id(), USD.currency)));
BEAST_EXPECT(env.le(keylet::line(Account("alice").id(), gw.id(), USD.currency)));
env(trust("alice", USD(1000)));
env(trust("bob", USD(1000)));
env(pay(gw, "alice", USD(100)));