From aadb21afec1c67a4189f33cd42326f5cd513a04d Mon Sep 17 00:00:00 2001 From: Denis Angell Date: Fri, 10 Jan 2025 21:15:53 -0500 Subject: [PATCH] [fold] clang-format --- src/test/app/Batch_test.cpp | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/test/app/Batch_test.cpp b/src/test/app/Batch_test.cpp index f3c54bd28b2..706f697f216 100644 --- a/src/test/app/Batch_test.cpp +++ b/src/test/app/Batch_test.cpp @@ -2090,17 +2090,16 @@ class Batch_test : public beast::unit_test::suite obj.setFieldU32(sfLedgerSequence, env.seq(alice)); obj.setFieldU32(sfFlags, tfInnerBatchTxn); }); - + std::string reason; BEAST_EXPECT(isPseudoTx(stx)); BEAST_EXPECT(!passesLocalChecks(stx, reason)); BEAST_EXPECT(reason == "Cannot submit pseudo transactions."); - env.app().openLedger().modify( - [&](OpenView& view, beast::Journal j) { - auto const result = ripple::apply(env.app(), view, stx, tapNONE, j); - BEAST_EXPECT(!result.second && result.first == temINVALID_FLAG); - return result.second; - }); + env.app().openLedger().modify([&](OpenView& view, beast::Journal j) { + auto const result = ripple::apply(env.app(), view, stx, tapNONE, j); + BEAST_EXPECT(!result.second && result.first == temINVALID_FLAG); + return result.second; + }); } void