From 0d64246209bc1497f58da3a6bb4ecbe8a8f83446 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 24 Sep 2022 08:31:14 +0530 Subject: [PATCH] fix vim autoindent --- kitty_tests/datatypes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty_tests/datatypes.py b/kitty_tests/datatypes.py index 7ee081875..ff5e67a89 100644 --- a/kitty_tests/datatypes.py +++ b/kitty_tests/datatypes.py @@ -562,7 +562,7 @@ class TestDataTypes(BaseTest): def test_bracketed_paste_sanitizer(self): from kitty.utils import sanitize_for_bracketed_paste - for x in ('\x1b[201~ab\x9b201~cd', '\x1b[201\x1b[201~~ab'): + for x in ('\x1b[201~ab\x9b201~cd', '\x1b[201\x1b[201~~ab'): # ]]] q = sanitize_for_bracketed_paste(x.encode('utf-8')) self.assertNotIn(b'\x1b[201~', q) self.assertNotIn('\x9b201~'.encode('utf-8'), q)