[fold] clang-format

This commit is contained in:
Denis Angell
2024-12-06 13:00:45 +01:00
parent 8e88a49d26
commit cba05af058

View File

@@ -5041,7 +5041,8 @@ class Import_test : public beast::unit_test::suite
{
for (std::uint32_t const withFeature : {0, 1, 2})
{
auto const amend = withFeature == 0 ? features
auto const amend = withFeature == 0
? features
: withFeature == 1 ? features - featureXahauGenesis
: features - featureDeletableAccounts;
test::jtx::Env env{
@@ -5080,9 +5081,8 @@ class Import_test : public beast::unit_test::suite
{
BEAST_EXPECT((*acctSle)[sfAccountIndex] == 0);
}
std::uint64_t const seq = withFeature == 0 ? 12
: withFeature == 1 ? 6
: 12;
std::uint64_t const seq =
withFeature == 0 ? 12 : withFeature == 1 ? 6 : 12;
BEAST_EXPECT((*acctSle)[sfSequence] == seq);
// confirm account count was set
@@ -5098,7 +5098,8 @@ class Import_test : public beast::unit_test::suite
{
for (std::uint32_t const withFeature : {0, 1, 2})
{
auto const amend = withFeature == 0 ? features
auto const amend = withFeature == 0
? features
: withFeature == 1 ? features - featureXahauGenesis
: features - featureDeletableAccounts;
test::jtx::Env env{
@@ -5118,9 +5119,8 @@ class Import_test : public beast::unit_test::suite
std::uint64_t sequence;
};
std::uint64_t const seq = withFeature == 0 ? 11
: withFeature == 1 ? 5
: 11;
std::uint64_t const seq =
withFeature == 0 ? 11 : withFeature == 1 ? 5 : 11;
std::array<TestAccountData, 3> acctTests = {{
{alice, 0, seq},
{bob, 1, seq},