mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Fix formatting
This commit is contained in:
@@ -100,9 +100,8 @@ public:
|
||||
testcase("parse json object");
|
||||
|
||||
{
|
||||
std::string const goodJson(
|
||||
R"({"CloseResolution":19,"Method":250,)"
|
||||
R"("TransactionResult":"tecFROZEN"})");
|
||||
std::string const goodJson(R"({"CloseResolution":19,"Method":250,)"
|
||||
R"("TransactionResult":"tecFROZEN"})");
|
||||
|
||||
Json::Value jv;
|
||||
if (BEAST_EXPECT(parseJSONString(goodJson, jv)))
|
||||
@@ -142,9 +141,8 @@ public:
|
||||
}
|
||||
|
||||
{
|
||||
std::string const json(
|
||||
R"({"CloseResolution":19,"Method":250,)"
|
||||
R"("TransactionResult":"terQUEUED"})");
|
||||
std::string const json(R"({"CloseResolution":19,"Method":250,)"
|
||||
R"("TransactionResult":"terQUEUED"})");
|
||||
|
||||
Json::Value jv;
|
||||
if (BEAST_EXPECT(parseJSONString(json, jv)))
|
||||
@@ -160,9 +158,8 @@ public:
|
||||
}
|
||||
|
||||
{
|
||||
std::string const json(
|
||||
R"({"CloseResolution":19,"Method":"pony",)"
|
||||
R"("TransactionResult":"tesSUCCESS"})");
|
||||
std::string const json(R"({"CloseResolution":19,"Method":"pony",)"
|
||||
R"("TransactionResult":"tesSUCCESS"})");
|
||||
|
||||
Json::Value jv;
|
||||
if (BEAST_EXPECT(parseJSONString(json, jv)))
|
||||
@@ -196,9 +193,8 @@ public:
|
||||
}
|
||||
|
||||
{
|
||||
std::string const json(
|
||||
R"({"CloseResolution":-10,"Method":42,)"
|
||||
R"("TransactionResult":"tesSUCCESS"})");
|
||||
std::string const json(R"({"CloseResolution":-10,"Method":42,)"
|
||||
R"("TransactionResult":"tesSUCCESS"})");
|
||||
|
||||
Json::Value jv;
|
||||
if (BEAST_EXPECT(parseJSONString(json, jv)))
|
||||
@@ -232,9 +228,8 @@ public:
|
||||
}
|
||||
|
||||
{
|
||||
std::string const json(
|
||||
R"({"CloseResolution":19,"Method":250,)"
|
||||
R"("TransferFee":"65536"})");
|
||||
std::string const json(R"({"CloseResolution":19,"Method":250,)"
|
||||
R"("TransferFee":"65536"})");
|
||||
|
||||
Json::Value jv;
|
||||
if (BEAST_EXPECT(parseJSONString(json, jv)))
|
||||
@@ -250,9 +245,8 @@ public:
|
||||
}
|
||||
|
||||
{
|
||||
std::string const json(
|
||||
R"({"CloseResolution":19,"Method":250,)"
|
||||
R"("TransferFee":"Payment"})");
|
||||
std::string const json(R"({"CloseResolution":19,"Method":250,)"
|
||||
R"("TransferFee":"Payment"})");
|
||||
|
||||
Json::Value jv;
|
||||
if (BEAST_EXPECT(parseJSONString(json, jv)))
|
||||
@@ -268,9 +262,8 @@ public:
|
||||
}
|
||||
|
||||
{
|
||||
std::string const json(
|
||||
R"({"CloseResolution":19,"Method":250,)"
|
||||
R"("TransferFee":true})");
|
||||
std::string const json(R"({"CloseResolution":19,"Method":250,)"
|
||||
R"("TransferFee":true})");
|
||||
|
||||
Json::Value jv;
|
||||
if (BEAST_EXPECT(parseJSONString(json, jv)))
|
||||
|
||||
Reference in New Issue
Block a user