mirror of
				https://github.com/XRPLF/clio.git
				synced 2025-11-04 03:45:50 +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),
 | 
			
		||||
         .expectedError = "invalidParams",
 | 
			
		||||
         .expectedErrorMessage = "Malformed cursor."},
 | 
			
		||||
        {.testName="AccountMissing", .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 = "AccountMissing",
 | 
			
		||||
         .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",
 | 
			
		||||
         .testJson = R"JSON({ "account": "rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jp" })JSON",
 | 
			
		||||
         .expectedError = "actMalformed",
 | 
			
		||||
 
 | 
			
		||||
@@ -132,8 +132,14 @@ generateTestValuesForInvalidParamsTest()
 | 
			
		||||
         .testJson = fmt::format(R"JSON({{ "account": "{}", "marker": "123invalid" }})JSON", kACCOUNT),
 | 
			
		||||
         .expectedError = "invalidParams",
 | 
			
		||||
         .expectedErrorMessage = "Malformed cursor."},
 | 
			
		||||
        {.testName="AccountMissing", .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 = "AccountMissing",
 | 
			
		||||
         .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",
 | 
			
		||||
         .testJson = fmt::format(R"JSON({{ "account": "{}" }})JSON", "rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jp"),
 | 
			
		||||
         .expectedError = "actMalformed",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user