X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/7f3678885fc7ab6f9fb1749f6d2a8ed3468841f3..6140f04fe17ae7c542a29c207c9a45f6200f4e2c:/tests/data/string_quotes.py?ds=inline diff --git a/tests/data/string_quotes.py b/tests/data/string_quotes.py index 807f866..6b68699 100644 --- a/tests/data/string_quotes.py +++ b/tests/data/string_quotes.py @@ -43,6 +43,13 @@ re.compile(r'[\\"]') "unnecessary \'\'escaping" '\\""' "\\''" +'Lots of \\\\\\\\\'quotes\'' +f'{y * " "} \'{z}\'' +f'{{y * " "}} \'{z}\'' +f'\'{z}\' {y * " "}' +f'{y * x} \'{z}\'' +'\'{z}\' {y * " "}' +'{y * x} \'{z}\'' # output @@ -91,3 +98,10 @@ re.compile(r'[\\"]') "unnecessary ''escaping" '\\""' "\\''" +"Lots of \\\\\\\\'quotes'" +f'{y * " "} \'{z}\'' +f"{{y * \" \"}} '{z}'" +f'\'{z}\' {y * " "}' +f"{y * x} '{z}'" +"'{z}' {y * \" \"}" +"{y * x} '{z}'" \ No newline at end of file