From 20eab6c1ef4475c1dd6239ded38968da75e9a2e6 Mon Sep 17 00:00:00 2001 From: Gregory Tsipenyuk Date: Fri, 12 Jul 2024 15:28:47 -0400 Subject: [PATCH] Fix clang format --- src/test/app/AMMExtended_test.cpp | 3 +-- src/test/jtx/amount.h | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/test/app/AMMExtended_test.cpp b/src/test/app/AMMExtended_test.cpp index 3fcf7d872c9..fc53ba3f016 100644 --- a/src/test/app/AMMExtended_test.cpp +++ b/src/test/app/AMMExtended_test.cpp @@ -1564,8 +1564,7 @@ struct AMMExtended_test : public jtx::AMMTest fund(env, gw, {alice, bob, charlie}, {USD(11)}, Fund::All); AMM ammCharlie(env, charlie, XRP(11), USD(10)); env.close(); - auto [st, sa, da] = - find_paths(env, alice, bob, drops(-1), USD(1)); + auto [st, sa, da] = find_paths(env, alice, bob, drops(-1), USD(1)); BEAST_EXPECT(sa == USD(1)); BEAST_EXPECT(equal(da, XRP(1))); if (BEAST_EXPECT(st.size() == 1 && st[0].size() == 1)) diff --git a/src/test/jtx/amount.h b/src/test/jtx/amount.h index 0dc686faa2c..11b366b3a68 100644 --- a/src/test/jtx/amount.h +++ b/src/test/jtx/amount.h @@ -457,9 +457,8 @@ class MPT } template - requires(sizeof(T) >= sizeof(int) && std::is_arithmetic_v) - PrettyAmount - operator()(T v) const + requires(sizeof(T) >= sizeof(int) && std::is_arithmetic_v) PrettyAmount + operator()(T v) const { // VFALCO NOTE Should throw if the // representation of v is not exact.