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.