X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/7fe19fac5bccc08dbcf21c293ab50f1fcda7716f..7c851dfa2c2a8f0bf4c529d7f6faa43798d04325:/tests/data/docstring_no_string_normalization.py diff --git a/tests/data/docstring_no_string_normalization.py b/tests/data/docstring_no_string_normalization.py index 0457fcf..a90b578 100644 --- a/tests/data/docstring_no_string_normalization.py +++ b/tests/data/docstring_no_string_normalization.py @@ -102,6 +102,26 @@ def shockingly_the_quotes_are_normalized_v2(): ''' pass + +def backslash_space(): + '\ ' + + +def multiline_backslash_1(): + ''' + hey\there\ + \ ''' + + +def multiline_backslash_2(): + ''' + hey there \ ''' + + +def multiline_backslash_3(): + ''' + already escaped \\ ''' + # output class ALonelyClass: @@ -207,3 +227,23 @@ def shockingly_the_quotes_are_normalized_v2(): Docstring Docstring Docstring ''' pass + + +def backslash_space(): + '\ ' + + +def multiline_backslash_1(): + ''' + hey\there\ + \ ''' + + +def multiline_backslash_2(): + ''' + hey there \ ''' + + +def multiline_backslash_3(): + ''' + already escaped \\'''