From 78c79c000cf9dbd9d974155f781782fe5fe981a7 Mon Sep 17 00:00:00 2001 From: Ed Hennis Date: Wed, 28 Jan 2026 19:29:25 -0500 Subject: [PATCH] Fix formatting --- src/test/app/SHAMapStore_test.cpp | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/src/test/app/SHAMapStore_test.cpp b/src/test/app/SHAMapStore_test.cpp index 6229e5b354..3d60b83113 100644 --- a/src/test/app/SHAMapStore_test.cpp +++ b/src/test/app/SHAMapStore_test.cpp @@ -216,8 +216,7 @@ public: accountTransactionCheck(env, 2 * deleteInterval); // The last iteration of this loop should trigger a rotate - for (auto i = lastRotated - 3; i < lastRotated + deleteInterval - 1; - ++i) + for (auto i = lastRotated - 3; i < lastRotated + deleteInterval - 1; ++i) { BEAST_EXPECT(store.getLastRotated() == lastRotated); @@ -233,8 +232,7 @@ public: store.rendezvous(); - BEAST_EXPECT( - store.getLastRotated() == deleteInterval + lastRotated + 2); + BEAST_EXPECT(store.getLastRotated() == deleteInterval + lastRotated + 2); ledgerCheck(env, deleteInterval + 1, lastRotated); transactionCheck(env, 0); @@ -589,11 +587,9 @@ public: auto& ns = env.app().getNodeStore(); std::map hashes; auto storeHash = [&]() { - hashes.emplace( - env.current()->info().seq, env.current()->info().hash); + hashes.emplace(env.current()->info().seq, env.current()->info().hash); - auto const& root = - ns.fetchNodeObject(hashes[env.current()->info().seq]); + auto const& root = ns.fetchNodeObject(hashes[env.current()->info().seq]); BEAST_EXPECT(root); }; @@ -741,8 +737,7 @@ public: { auto const nodeObject = ns.fetchNodeObject(hash); std::stringstream ss; - ss << "minSeq: " << minSeq << ", maxSeq: " << maxSeq - << ", search: " << seq << ". Should " + ss << "minSeq: " << minSeq << ", maxSeq: " << maxSeq << ", search: " << seq << ". Should " << (seq < minSeq ? "NOT " : "") << "be found"; if (seq < minSeq) BEAST_EXPECTS(!nodeObject, ss.str());