X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/cf8e998f46e89da39fa64029cc4550e2862f7ec2..09f5ee3a19f4274bb848324867bd8e68724cf851:/tests/string_quotes.py?ds=sidebyside 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" +'\\""' +"\\''"