mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-04 20:05:51 +00:00
style: Fix pre-commit style issues (#2743)
This commit is contained in:
@@ -158,8 +158,14 @@ generateTestValuesForInvalidParamsTest()
|
|||||||
.testJson = fmt::format(R"JSON({{ "account": "{}", "marker": "123invalid" }})JSON", kACCOUNT),
|
.testJson = fmt::format(R"JSON({{ "account": "{}", "marker": "123invalid" }})JSON", kACCOUNT),
|
||||||
.expectedError = "invalidParams",
|
.expectedError = "invalidParams",
|
||||||
.expectedErrorMessage = "Malformed cursor."},
|
.expectedErrorMessage = "Malformed cursor."},
|
||||||
{.testName="AccountMissing", .testJson=R"JSON({ "limit": 10 })JSON", .expectedError="invalidParams", .expectedErrorMessage="Required field 'account' missing"},
|
{.testName = "AccountMissing",
|
||||||
{.testName="AccountNotString", .testJson=R"JSON({ "account": 123 })JSON", .expectedError="actMalformed", .expectedErrorMessage="Account malformed."},
|
.testJson = R"JSON({ "limit": 10 })JSON",
|
||||||
|
.expectedError = "invalidParams",
|
||||||
|
.expectedErrorMessage = "Required field 'account' missing"},
|
||||||
|
{.testName = "AccountNotString",
|
||||||
|
.testJson = R"JSON({ "account": 123 })JSON",
|
||||||
|
.expectedError = "actMalformed",
|
||||||
|
.expectedErrorMessage = "Account malformed."},
|
||||||
{.testName = "AccountMalformed",
|
{.testName = "AccountMalformed",
|
||||||
.testJson = R"JSON({ "account": "rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jp" })JSON",
|
.testJson = R"JSON({ "account": "rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jp" })JSON",
|
||||||
.expectedError = "actMalformed",
|
.expectedError = "actMalformed",
|
||||||
|
|||||||
@@ -132,8 +132,14 @@ generateTestValuesForInvalidParamsTest()
|
|||||||
.testJson = fmt::format(R"JSON({{ "account": "{}", "marker": "123invalid" }})JSON", kACCOUNT),
|
.testJson = fmt::format(R"JSON({{ "account": "{}", "marker": "123invalid" }})JSON", kACCOUNT),
|
||||||
.expectedError = "invalidParams",
|
.expectedError = "invalidParams",
|
||||||
.expectedErrorMessage = "Malformed cursor."},
|
.expectedErrorMessage = "Malformed cursor."},
|
||||||
{.testName="AccountMissing", .testJson=R"JSON({ "limit": 10 })JSON", .expectedError="invalidParams", .expectedErrorMessage="Required field 'account' missing"},
|
{.testName = "AccountMissing",
|
||||||
{.testName="AccountNotString", .testJson=R"JSON({ "account": 123 })JSON", .expectedError="actMalformed", .expectedErrorMessage="Account malformed."},
|
.testJson = R"JSON({ "limit": 10 })JSON",
|
||||||
|
.expectedError = "invalidParams",
|
||||||
|
.expectedErrorMessage = "Required field 'account' missing"},
|
||||||
|
{.testName = "AccountNotString",
|
||||||
|
.testJson = R"JSON({ "account": 123 })JSON",
|
||||||
|
.expectedError = "actMalformed",
|
||||||
|
.expectedErrorMessage = "Account malformed."},
|
||||||
{.testName = "AccountMalformed",
|
{.testName = "AccountMalformed",
|
||||||
.testJson = fmt::format(R"JSON({{ "account": "{}" }})JSON", "rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jp"),
|
.testJson = fmt::format(R"JSON({{ "account": "{}" }})JSON", "rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jp"),
|
||||||
.expectedError = "actMalformed",
|
.expectedError = "actMalformed",
|
||||||
|
|||||||
Reference in New Issue
Block a user