aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/natspec
diff options
context:
space:
mode:
authorLeo Arias <yo@elopio.net>2018-04-22 13:21:06 +0800
committerLeo Arias <yo@elopio.net>2018-04-24 05:47:53 +0800
commitb74566e4eafaa455068289cd589af48e87c70cf1 (patch)
treed3306407e9c0ebc4fd32b6e0f7967fda0e0e0332 /test/libsolidity/syntaxTests/natspec
parentd674cde34cc0f9a8e8a520c8eddd2090384fb739 (diff)
downloaddexon-solidity-b74566e4eafaa455068289cd589af48e87c70cf1.tar
dexon-solidity-b74566e4eafaa455068289cd589af48e87c70cf1.tar.gz
dexon-solidity-b74566e4eafaa455068289cd589af48e87c70cf1.tar.bz2
dexon-solidity-b74566e4eafaa455068289cd589af48e87c70cf1.tar.lz
dexon-solidity-b74566e4eafaa455068289cd589af48e87c70cf1.tar.xz
dexon-solidity-b74566e4eafaa455068289cd589af48e87c70cf1.tar.zst
dexon-solidity-b74566e4eafaa455068289cd589af48e87c70cf1.zip
docstring: add missing space
Diffstat (limited to 'test/libsolidity/syntaxTests/natspec')
-rw-r--r--test/libsolidity/syntaxTests/natspec/docstring_empty_description.sol6
-rw-r--r--test/libsolidity/syntaxTests/natspec/docstring_empty_tag.sol6
2 files changed, 12 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/natspec/docstring_empty_description.sol b/test/libsolidity/syntaxTests/natspec/docstring_empty_description.sol
new file mode 100644
index 00000000..0caa1b23
--- /dev/null
+++ b/test/libsolidity/syntaxTests/natspec/docstring_empty_description.sol
@@ -0,0 +1,6 @@
+contract C {
+ /// @param id
+ function vote(uint id) public;
+}
+// ----
+// DocstringParsingError: No description given for param id
diff --git a/test/libsolidity/syntaxTests/natspec/docstring_empty_tag.sol b/test/libsolidity/syntaxTests/natspec/docstring_empty_tag.sol
new file mode 100644
index 00000000..9a28143a
--- /dev/null
+++ b/test/libsolidity/syntaxTests/natspec/docstring_empty_tag.sol
@@ -0,0 +1,6 @@
+contract C {
+ /// @param
+ function vote(uint id) public;
+}
+// ----
+// DocstringParsingError: End of tag @param not found