From 9cf8a1a89dadfebedaf48258519c9a8953375597 Mon Sep 17 00:00:00 2001 From: Pedro Worcel Date: Wed, 25 Dec 2013 21:08:20 +1300 Subject: [PATCH] fix failing test --- test/test_console_contentview.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test_console_contentview.py b/test/test_console_contentview.py index 950126577..32f4fad2c 100644 --- a/test/test_console_contentview.py +++ b/test/test_console_contentview.py @@ -288,7 +288,8 @@ def test_search_highlights_multi_line(): # should highlight second line, first appearance of string. f.search("string") text_object = tutils.get_body_line(f.last_displayed_body, 1) - assert text_object.get_text() == ('string is string', [(None, 0), ('key', 6)]) + print text_object.get_text() + assert text_object.get_text() == ('string is string', [(None, 0), (f.highlight_color, 6)]) # should highlight third line, second appearance of string. f.search("string")