X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/7fe19fac5bccc08dbcf21c293ab50f1fcda7716f..09915f4bd2d13652c089b9a96408b39116d82eb0:/tests/data/docstring_no_string_normalization.py?ds=inline 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 \\'''