From cba05af058482d97b149860c70cef686984a5b18 Mon Sep 17 00:00:00 2001 From: Denis Angell Date: Fri, 6 Dec 2024 13:00:45 +0100 Subject: [PATCH] [fold] clang-format --- src/test/app/Import_test.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/test/app/Import_test.cpp b/src/test/app/Import_test.cpp index 0398d9048..09ffd4a02 100644 --- a/src/test/app/Import_test.cpp +++ b/src/test/app/Import_test.cpp @@ -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 acctTests = {{ {alice, 0, seq}, {bob, 1, seq},