Skip to content

Commit

Permalink
[fold] clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
dangell7 committed Jan 11, 2025
1 parent 971c848 commit aadb21a
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/test/app/Batch_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aadb21a

Please sign in to comment.