style: Fix JSON indent style in C++ code (#2485)

This commit is contained in:
Ayaz Salikhov
2025-08-28 15:10:36 +01:00
committed by GitHub
parent 2512a9c8e7
commit e6b2f9cde7
42 changed files with 3222 additions and 3192 deletions

View File

@@ -556,8 +556,8 @@ TEST_F(RPCUnsubscribeTest, Accounts)
auto const input = json::parse(
fmt::format(
R"JSON({{
"accounts": ["{}", "{}"]
}})JSON",
"accounts": ["{}", "{}"]
}})JSON",
kACCOUNT,
kACCOUNT2
)
@@ -580,8 +580,8 @@ TEST_F(RPCUnsubscribeTest, AccountsProposed)
auto const input = json::parse(
fmt::format(
R"JSON({{
"accounts_proposed": ["{}", "{}"]
}})JSON",
"accounts_proposed": ["{}", "{}"]
}})JSON",
kACCOUNT,
kACCOUNT2
)
@@ -605,19 +605,19 @@ TEST_F(RPCUnsubscribeTest, Books)
auto const input = json::parse(
fmt::format(
R"JSON({{
"books": [
{{
"taker_pays": {{
"currency": "XRP"
}},
"taker_gets": {{
"currency": "USD",
"issuer": "{}"
}},
"both": true
}}
]
}})JSON",
"books": [
{{
"taker_pays": {{
"currency": "XRP"
}},
"taker_gets": {{
"currency": "USD",
"issuer": "{}"
}},
"both": true
}}
]
}})JSON",
kACCOUNT
)
);
@@ -641,18 +641,18 @@ TEST_F(RPCUnsubscribeTest, SingleBooks)
auto const input = json::parse(
fmt::format(
R"JSON({{
"books": [
{{
"taker_pays": {{
"currency": "XRP"
}},
"taker_gets": {{
"currency": "USD",
"issuer": "{}"
"books": [
{{
"taker_pays": {{
"currency": "XRP"
}},
"taker_gets": {{
"currency": "USD",
"issuer": "{}"
}}
}}
}}
]
}})JSON",
]
}})JSON",
kACCOUNT
)
);