From b74566e4eafaa455068289cd589af48e87c70cf1 Mon Sep 17 00:00:00 2001 From: Leo Arias Date: Sun, 22 Apr 2018 05:21:06 +0000 Subject: docstring: add missing space --- test/libsolidity/syntaxTests/docstring_empty_description.sol | 6 ------ .../libsolidity/syntaxTests/natspec/docstring_empty_description.sol | 6 ++++++ test/libsolidity/syntaxTests/natspec/docstring_empty_tag.sol | 6 ++++++ 3 files changed, 12 insertions(+), 6 deletions(-) delete mode 100644 test/libsolidity/syntaxTests/docstring_empty_description.sol create mode 100644 test/libsolidity/syntaxTests/natspec/docstring_empty_description.sol create mode 100644 test/libsolidity/syntaxTests/natspec/docstring_empty_tag.sol (limited to 'test/libsolidity') diff --git a/test/libsolidity/syntaxTests/docstring_empty_description.sol b/test/libsolidity/syntaxTests/docstring_empty_description.sol deleted file mode 100644 index 0caa1b23..00000000 --- a/test/libsolidity/syntaxTests/docstring_empty_description.sol +++ /dev/null @@ -1,6 +0,0 @@ -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_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 -- cgit