X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/cf8e998f46e89da39fa64029cc4550e2862f7ec2..230f1d277c96ff7d19b7b86ce2446d4639e54d3c:/tests/string_quotes.py 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" +'\\""' +"\\''"