mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-03 08:46:46 +00:00
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:
@@ -20,8 +20,7 @@ struct Transaction_ordering_test : public beast::unit_test::suite
|
||||
auto const aliceSequence = env.seq(alice);
|
||||
|
||||
auto const tx1 = env.jt(noop(alice), seq(aliceSequence));
|
||||
auto const tx2 =
|
||||
env.jt(noop(alice), seq(aliceSequence + 1), last_ledger_seq(7));
|
||||
auto const tx2 = env.jt(noop(alice), seq(aliceSequence + 1), last_ledger_seq(7));
|
||||
|
||||
env(tx1);
|
||||
env.close();
|
||||
@@ -33,16 +32,12 @@ struct Transaction_ordering_test : public beast::unit_test::suite
|
||||
env.close();
|
||||
|
||||
{
|
||||
auto const result =
|
||||
env.rpc("tx", to_string(tx1.stx->getTransactionID()));
|
||||
BEAST_EXPECT(
|
||||
result["result"]["meta"]["TransactionResult"] == "tesSUCCESS");
|
||||
auto const result = env.rpc("tx", to_string(tx1.stx->getTransactionID()));
|
||||
BEAST_EXPECT(result["result"]["meta"]["TransactionResult"] == "tesSUCCESS");
|
||||
}
|
||||
{
|
||||
auto const result =
|
||||
env.rpc("tx", to_string(tx2.stx->getTransactionID()));
|
||||
BEAST_EXPECT(
|
||||
result["result"]["meta"]["TransactionResult"] == "tesSUCCESS");
|
||||
auto const result = env.rpc("tx", to_string(tx2.stx->getTransactionID()));
|
||||
BEAST_EXPECT(result["result"]["meta"]["TransactionResult"] == "tesSUCCESS");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -64,8 +59,7 @@ struct Transaction_ordering_test : public beast::unit_test::suite
|
||||
auto const aliceSequence = env.seq(alice);
|
||||
|
||||
auto const tx1 = env.jt(noop(alice), seq(aliceSequence));
|
||||
auto const tx2 =
|
||||
env.jt(noop(alice), seq(aliceSequence + 1), last_ledger_seq(7));
|
||||
auto const tx2 = env.jt(noop(alice), seq(aliceSequence + 1), last_ledger_seq(7));
|
||||
|
||||
env(tx2, ter(terPRE_SEQ));
|
||||
BEAST_EXPECT(env.seq(alice) == aliceSequence);
|
||||
@@ -76,16 +70,12 @@ struct Transaction_ordering_test : public beast::unit_test::suite
|
||||
env.close();
|
||||
|
||||
{
|
||||
auto const result =
|
||||
env.rpc("tx", to_string(tx1.stx->getTransactionID()));
|
||||
BEAST_EXPECT(
|
||||
result["result"]["meta"]["TransactionResult"] == "tesSUCCESS");
|
||||
auto const result = env.rpc("tx", to_string(tx1.stx->getTransactionID()));
|
||||
BEAST_EXPECT(result["result"]["meta"]["TransactionResult"] == "tesSUCCESS");
|
||||
}
|
||||
{
|
||||
auto const result =
|
||||
env.rpc("tx", to_string(tx2.stx->getTransactionID()));
|
||||
BEAST_EXPECT(
|
||||
result["result"]["meta"]["TransactionResult"] == "tesSUCCESS");
|
||||
auto const result = env.rpc("tx", to_string(tx2.stx->getTransactionID()));
|
||||
BEAST_EXPECT(result["result"]["meta"]["TransactionResult"] == "tesSUCCESS");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -109,8 +99,7 @@ struct Transaction_ordering_test : public beast::unit_test::suite
|
||||
std::vector<JTx> tx;
|
||||
for (auto i = 0; i < 5; ++i)
|
||||
{
|
||||
tx.emplace_back(env.jt(
|
||||
noop(alice), seq(aliceSequence + i), last_ledger_seq(7)));
|
||||
tx.emplace_back(env.jt(noop(alice), seq(aliceSequence + i), last_ledger_seq(7)));
|
||||
}
|
||||
|
||||
for (auto i = 1; i < 5; ++i)
|
||||
@@ -127,10 +116,8 @@ struct Transaction_ordering_test : public beast::unit_test::suite
|
||||
|
||||
for (auto i = 0; i < 5; ++i)
|
||||
{
|
||||
auto const result =
|
||||
env.rpc("tx", to_string(tx[i].stx->getTransactionID()));
|
||||
BEAST_EXPECT(
|
||||
result["result"]["meta"]["TransactionResult"] == "tesSUCCESS");
|
||||
auto const result = env.rpc("tx", to_string(tx[i].stx->getTransactionID()));
|
||||
BEAST_EXPECT(result["result"]["meta"]["TransactionResult"] == "tesSUCCESS");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user