From 2517e4a8a0a678f411f6ea513f595abedca8f626 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 9 Jan 2017 07:13:14 +0530 Subject: [PATCH] Expand the wcwidth test --- 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 02a7499bf..49a8adaa1 100644 --- a/kitty_tests/datatypes.py +++ b/kitty_tests/datatypes.py @@ -265,7 +265,7 @@ class TestDataTypes(BaseTest): self.assertContinued(lb2, False, False, True) def test_utils(self): - self.ae(tuple(map(wcwidth, 'a1\0コ')), (1, 1, 0, 2)) + self.ae(tuple(map(wcwidth, 'a1\0コニチ ')), (1, 1, 0, 2, 2, 2, 1)) self.assertEqual(sanitize_title('a\0\01 \t\n\f\rb'), 'a b') def test_color_profile(self):