X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/a4c11a75e12300abfbe4c36854e450d42bdd1ee7..e4c55b48879c48bce2f3730ebb114aa2a67ab4d1:/tests/data/docstring.py?ds=sidebyside 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