X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/efcd039482de513eb2bb5f4f7688c51985c40494..9394de150ebf0adc426523f46dc08e8b2b2b0b63:/tests/data/string_quotes.py diff --git a/tests/data/string_quotes.py b/tests/data/string_quotes.py index 1994dd2..6b68699 100644 --- a/tests/data/string_quotes.py +++ b/tests/data/string_quotes.py @@ -44,6 +44,12 @@ re.compile(r'[\\"]') '\\""' "\\''" 'Lots of \\\\\\\\\'quotes\'' +f'{y * " "} \'{z}\'' +f'{{y * " "}} \'{z}\'' +f'\'{z}\' {y * " "}' +f'{y * x} \'{z}\'' +'\'{z}\' {y * " "}' +'{y * x} \'{z}\'' # output @@ -93,3 +99,9 @@ re.compile(r'[\\"]') '\\""' "\\''" "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