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

@@ -38,7 +38,7 @@ TEST(VerifyConfigTest, ValidConfig)
{
// used to Verify Config test
static constexpr auto kVALID_JSON_DATA = R"JSON({
"server": {
"server": {
"ip": "0.0.0.0",
"port": 51233
}
@@ -58,11 +58,11 @@ TEST(VerifyConfigTest, InvalidJsonFile)
{
// invalid json because extra "," after 51233
static constexpr auto kINVALID_JSON = R"JSON({
"server": {
"ip": "0.0.0.0",
"port": 51233,
}
})JSON";
"server": {
"ip": "0.0.0.0",
"port": 51233,
}
})JSON";
auto const tmpConfigFile = TmpFile(kINVALID_JSON);
EXPECT_FALSE(parseConfig(tmpConfigFile.path));