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

@@ -63,8 +63,7 @@ struct STAccount_test : public beast::unit_test::suite
Serializer s;
zeroAcct.add(s);
BEAST_EXPECT(s.size() == 21);
BEAST_EXPECT(
strHex(s) == "140000000000000000000000000000000000000000");
BEAST_EXPECT(strHex(s) == "140000000000000000000000000000000000000000");
SerialIter sit(s.slice());
STAccount const deserializedZero(sit, sfAccount);
BEAST_EXPECT(deserializedZero.isEquivalent(zeroAcct));
@@ -72,8 +71,7 @@ struct STAccount_test : public beast::unit_test::suite
{
// Construct from a VL that is not exactly 160 bits.
Serializer s;
std::uint8_t const bits128[]{
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
std::uint8_t const bits128[]{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
s.addVL(bits128, sizeof(bits128));
SerialIter sit(s.slice());
try
@@ -83,8 +81,7 @@ struct STAccount_test : public beast::unit_test::suite
}
catch (std::runtime_error const& ex)
{
BEAST_EXPECT(
ex.what() == std::string("Invalid STAccount size"));
BEAST_EXPECT(ex.what() == std::string("Invalid STAccount size"));
}
}
@@ -113,8 +110,7 @@ struct STAccount_test : public beast::unit_test::suite
}
{
auto const s =
"âabcd1rNxp4h8apvRis6mJf9Sh8C6iRxfrDWNâabcdAVâ\xc2\x80\xc2\x8f";
auto const s = "âabcd1rNxp4h8apvRis6mJf9Sh8C6iRxfrDWNâabcdAVâ\xc2\x80\xc2\x8f";
BEAST_EXPECT(!parseBase58<AccountID>(s));
}
}