mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
[fold] clang-format
This commit is contained in:
@@ -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},
|
||||
|
||||
Reference in New Issue
Block a user