X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/a4c11a75e12300abfbe4c36854e450d42bdd1ee7..435dc7d9956495f3397e6d7bfcf5cb0b8523d0ed:/tests/data/docstring.py?ds=inline diff --git a/tests/data/docstring.py b/tests/data/docstring.py index dd5bab7..f5adeb7 100644 --- a/tests/data/docstring.py +++ b/tests/data/docstring.py @@ -1,5 +1,5 @@ class MyClass: - """Multiline + """ Multiline class docstring """ @@ -11,7 +11,7 @@ class MyClass: def foo(): - """This is a docstring with + """This is a docstring with some lines of text here """ return @@ -66,6 +66,13 @@ def over_indent(): """ pass + +def single_line(): + """But with a newline after it! + + """ + pass + # output class MyClass: @@ -136,3 +143,8 @@ def over_indent(): - And the closing quote is too deep """ pass + + +def single_line(): + """But with a newline after it!""" + pass