mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Make json output a bit prettier.
This commit is contained in:
@@ -45,12 +45,12 @@ BOOST_AUTO_TEST_CASE(json_pretty_print)
|
||||
|
||||
BOOST_CHECK(
|
||||
"{\n"
|
||||
" \"1\" : 1,\n"
|
||||
" \"2\" : \"2\",\n"
|
||||
" \"3\" : \n"
|
||||
" \"1\": 1,\n"
|
||||
" \"2\": \"2\",\n"
|
||||
" \"3\":\n"
|
||||
" {\n"
|
||||
" \"3.1\" : \"3.1\",\n"
|
||||
" \"3.2\" : 2\n"
|
||||
" \"3.1\": \"3.1\",\n"
|
||||
" \"3.2\": 2\n"
|
||||
" }\n"
|
||||
"}" == jsonPrettyPrint(json));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user