mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Remove linefeed from JSON to string conversion
This commit is contained in:
@@ -36,10 +36,6 @@ struct Output_test : ripple::RPC::TestOutputSuite
|
||||
|
||||
// Compare with the original version.
|
||||
auto expected = Json::FastWriter().write (value);
|
||||
expected.resize (expected.size() - 1);
|
||||
// For some reason, the FastWriter puts a carriage return on the end of
|
||||
// every piece of Json it outputs.
|
||||
|
||||
expectResult (expected);
|
||||
expectResult (valueDesc);
|
||||
expectResult (jsonAsString (value));
|
||||
|
||||
Reference in New Issue
Block a user