X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/7f3678885fc7ab6f9fb1749f6d2a8ed3468841f3..c7495b9aa098ef7a358fc74556359d21c6a4ba11:/tests/data/string_quotes.py 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