aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2016-11-16 01:33:28 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2016-11-16 01:38:18 +0800
commit81c50143f2bff6f589ab1237d68c8820107f18b9 (patch)
tree749c4e932d32aebee20f54065d9962a7ee526582 /test
parent9205662de9416ab160db7327a6022ea8b1fba3e1 (diff)
downloaddexon-solidity-81c50143f2bff6f589ab1237d68c8820107f18b9.tar.gz
dexon-solidity-81c50143f2bff6f589ab1237d68c8820107f18b9.tar.zst
dexon-solidity-81c50143f2bff6f589ab1237d68c8820107f18b9.zip
Move JSON helpers to libdevcore/json
Diffstat (limited to 'test')
-rw-r--r--test/libsolidity/SolidityNatspecJSON.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/libsolidity/SolidityNatspecJSON.cpp b/test/libsolidity/SolidityNatspecJSON.cpp
index facfcda7..f05542b1 100644
--- a/test/libsolidity/SolidityNatspecJSON.cpp
+++ b/test/libsolidity/SolidityNatspecJSON.cpp
@@ -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)
);
}