From 604c4e599c7e2e7b8220a4b6a513f9cd960d7ddc Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 13 Nov 2016 16:52:59 +0530 Subject: [PATCH] ... --- kitty_tests/screen.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kitty_tests/screen.py b/kitty_tests/screen.py index 789a6f822..eec90207d 100644 --- a/kitty_tests/screen.py +++ b/kitty_tests/screen.py @@ -129,9 +129,11 @@ class TestScreen(BaseTest): self.ae(str(s.line(0)), ' xコ ') self.assertChanges(s, ignore='cursor', cells={0: ((0, 4),)}) c = Cursor() - c.bold = True + c.italic = True s.line(0).apply_cursor(c, 0, 5) self.ae(s.line(0).width(2), 2) + self.assertTrue(s.line(0).cursor_from(2).italic) + self.assertFalse(s.line(0).cursor_from(2).bold) init() s.delete_characters(2)