From 9069c0801699976d40155f3b0e5e74f682459376 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 10 Nov 2016 12:55:36 +0530 Subject: [PATCH] ... --- kitty_tests/screen.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kitty_tests/screen.py b/kitty_tests/screen.py index 18c9eedf0..5f90065d4 100644 --- a/kitty_tests/screen.py +++ b/kitty_tests/screen.py @@ -214,7 +214,11 @@ class TestScreen(BaseTest): s.draw(b'12345' * 5) s.index() self.ae(str(s.line(4)), ' ' * 5) + for i in range(4): + self.ae(str(s.line(i)), '12345') s.draw(b'12345' * 5) s.cursor_up(5) s.reverse_index() self.ae(str(s.line(0)), ' ' * 5) + for i in range(1, 5): + self.ae(str(s.line(i)), '12345')