X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/f71db23824a25300618dd0625085ade8d2b3a7a8..af7105f9ab4812c99f3d8a562b15913c2ccd7190:/tests/data/string_quotes.py diff --git a/tests/data/string_quotes.py b/tests/data/string_quotes.py index 1ac6b06..6b68699 100644 --- a/tests/data/string_quotes.py +++ b/tests/data/string_quotes.py @@ -1,3 +1,4 @@ +'''''' '\'' '"' "'" @@ -42,9 +43,17 @@ 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 +"""""" "'" '"' "'" @@ -89,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