diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2017-01-27 07:00:05 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2017-01-27 07:00:05 +0800 |
commit | cc7834f2a96e305bba3c7470271560dbf99d17f9 (patch) | |
tree | c042625b8ef883aacf5cc5dd9374c39239d87aeb /test | |
parent | 9ca0fde853735d183c3db5c77c83de7c70c4ec98 (diff) | |
download | dexon-solidity-cc7834f2a96e305bba3c7470271560dbf99d17f9.tar dexon-solidity-cc7834f2a96e305bba3c7470271560dbf99d17f9.tar.gz dexon-solidity-cc7834f2a96e305bba3c7470271560dbf99d17f9.tar.bz2 dexon-solidity-cc7834f2a96e305bba3c7470271560dbf99d17f9.tar.lz dexon-solidity-cc7834f2a96e305bba3c7470271560dbf99d17f9.tar.xz dexon-solidity-cc7834f2a96e305bba3c7470271560dbf99d17f9.tar.zst dexon-solidity-cc7834f2a96e305bba3c7470271560dbf99d17f9.zip |
Doc tags followed by newline are now parsed properly
Diffstat (limited to 'test')
-rw-r--r-- | test/libsolidity/SolidityNatspecJSON.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/libsolidity/SolidityNatspecJSON.cpp b/test/libsolidity/SolidityNatspecJSON.cpp index 0657c321..42b989dd 100644 --- a/test/libsolidity/SolidityNatspecJSON.cpp +++ b/test/libsolidity/SolidityNatspecJSON.cpp @@ -215,7 +215,7 @@ BOOST_AUTO_TEST_CASE(dev_desc_after_nl) char const* natspec = "{" "\"methods\":{" " \"mul(uint256,uint256)\":{ \n" - " \"details\": \" Multiplies a number by 7 and adds second parameter\",\n" + " \"details\": \"Multiplies a number by 7 and adds second parameter\",\n" " \"params\": {\n" " \"a\": \"Documentation for the first parameter\",\n" " \"second\": \"Documentation for the second parameter\"\n" @@ -402,7 +402,7 @@ BOOST_AUTO_TEST_CASE(dev_return_desc_after_nl) " \"a\": \"Documentation for the first parameter starts here. Since it's a really complicated parameter we need 2 lines\",\n" " \"second\": \"Documentation for the second parameter\"\n" " },\n" - " \"return\": \" The result of the multiplication\"\n" + " \"return\": \"The result of the multiplication\"\n" " }\n" "}}"; |