mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Move JSON helpers to libdevcore/json
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
#include <libsolidity/interface/CompilerStack.h>
|
||||
#include <libsolidity/interface/Exceptions.h>
|
||||
#include <libdevcore/Exceptions.h>
|
||||
#include <libdevcore/JSON.h>
|
||||
|
||||
namespace dev
|
||||
{
|
||||
@@ -57,7 +58,7 @@ public:
|
||||
BOOST_CHECK_MESSAGE(
|
||||
expectedDocumentation == generatedDocumentation,
|
||||
"Expected " << _expectedDocumentationString <<
|
||||
"\n but got:\n" << Json::StyledWriter().write(generatedDocumentation)
|
||||
"\n but got:\n" << dev::jsonPrettyPrint(generatedDocumentation)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user