X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/cf8e998f46e89da39fa64029cc4550e2862f7ec2..bbc09a4f013f2a584f143f3f5e3f76f6082367d4:/tests/string_quotes.py?ds=inline diff --git a/tests/string_quotes.py b/tests/string_quotes.py index 8ccd041..1ac6b06 100644 --- a/tests/string_quotes.py +++ b/tests/string_quotes.py @@ -38,6 +38,10 @@ re.compile(r'[\\"]') "x = '''; y = \"\"\"\"" "x = ''''; y = \"\"\"\"\"" "x = '' ''; y = \"\"\"\"\"" +'unnecessary \"\"escaping' +"unnecessary \'\'escaping" +'\\""' +"\\''" # output @@ -81,3 +85,7 @@ re.compile(r'[\\"]') 'x = \'\'\'; y = """"' 'x = \'\'\'\'; y = """""' 'x = \'\' \'\'; y = """""' +'unnecessary ""escaping' +"unnecessary ''escaping" +'\\""' +"\\''"