Add another test for marking

This commit is contained in:
Kovid Goyal 2020-04-12 16:54:38 +05:30
parent 082546a1e7
commit d1a5d30233
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -499,6 +499,8 @@ class TestScreen(BaseTest):
self.ae(s.marked_cells(), cells(0, 1))
s.set_marker(marker_from_regex('🐈a', 3))
self.ae(s.marked_cells(), cells(0, 1, 2))
s.set_marker(marker_from_regex('a', 3))
self.ae(s.marked_cells(), cells(2))
s = self.create_screen(cols=20)
s.tab()
s.draw('ab')