Clang-format to 100 line length

This commit is contained in:
Bart
2026-02-26 17:09:20 -05:00
parent 554df631c6
commit 5d0bf78512
786 changed files with 26116 additions and 12258 deletions

View File

@@ -65,13 +65,15 @@ public:
env.fund(XRP(10000), alice, bob);
auto ar = env.le(alice);
BEAST_EXPECT(ar->isFieldPresent(sfFlags) && ((ar->getFieldU32(sfFlags) & lsfPasswordSpent) == 0));
BEAST_EXPECT(
ar->isFieldPresent(sfFlags) && ((ar->getFieldU32(sfFlags) & lsfPasswordSpent) == 0));
env(regkey(alice, bob), sig(alice), fee(0));
ar = env.le(alice);
BEAST_EXPECT(
ar->isFieldPresent(sfFlags) && ((ar->getFieldU32(sfFlags) & lsfPasswordSpent) == lsfPasswordSpent));
ar->isFieldPresent(sfFlags) &&
((ar->getFieldU32(sfFlags) & lsfPasswordSpent) == lsfPasswordSpent));
// The second SetRegularKey transaction with Fee=0 should fail.
env(regkey(alice, bob), sig(alice), fee(0), ter(telINSUF_FEE_P));
@@ -79,7 +81,8 @@ public:
env.trust(bob["USD"](1), alice);
env(pay(bob, alice, bob["USD"](1)));
ar = env.le(alice);
BEAST_EXPECT(ar->isFieldPresent(sfFlags) && ((ar->getFieldU32(sfFlags) & lsfPasswordSpent) == 0));
BEAST_EXPECT(
ar->isFieldPresent(sfFlags) && ((ar->getFieldU32(sfFlags) & lsfPasswordSpent) == 0));
}
void