diff options
author | James Hilton-Balfe <50501825+Gobot1234@users.noreply.github.com> | 2022-01-15 16:59:25 +0300 |
---|---|---|
committer | James Hilton-Balfe <50501825+Gobot1234@users.noreply.github.com> | 2022-01-15 16:59:25 +0300 |
commit | dc60b1db76b5fb18c5cb84c03133a14231c7c65c (patch) | |
tree | dcb49406b03e33fe404285cd7011d8a84faa77e4 | |
parent | 4b8bb7b3019db18726bcd5dbeac60e1897f3e9c0 (diff) |
Add a test for this
-rw-r--r-- | tests/test_ext_napoleon_docstring.py | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/tests/test_ext_napoleon_docstring.py b/tests/test_ext_napoleon_docstring.py index acf000178..71b029154 100644 --- a/tests/test_ext_napoleon_docstring.py +++ b/tests/test_ext_napoleon_docstring.py @@ -263,6 +263,19 @@ class GoogleDocstringTest(BaseDocstringTest): :returns: Extended description of return value """ + ), + ( + """ + Single line summary + + Returns: + Extended + """, + """ + Single line summary + + :returns: Extended + """ ), ( """ Single line summary @@ -1118,7 +1131,7 @@ Methods: .. method:: func(i, j) :noindex: - + description """ # NOQA config = Config() |