Skip to content

Commit dc60b1d

Browse files
committed
Add a test for this
1 parent 4b8bb7b commit dc60b1d

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

tests/test_ext_napoleon_docstring.py

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,19 @@ class GoogleDocstringTest(BaseDocstringTest):
263263
:returns: Extended
264264
description of return value
265265
"""
266+
),
267+
(
268+
"""
269+
Single line summary
270+
271+
Returns:
272+
Extended
273+
""",
274+
"""
275+
Single line summary
276+
277+
:returns: Extended
278+
"""
266279
), (
267280
"""
268281
Single line summary
@@ -1118,7 +1131,7 @@ def test_noindex(self):
11181131
.. method:: func(i, j)
11191132
:noindex:
11201133
1121-
1134+
11221135
description
11231136
""" # NOQA
11241137
config = Config()

0 commit comments

Comments
 (0)