diff options
author | Pedro Worcel <pedro@worcel.com> | 2014-02-22 18:04:56 +1300 |
---|---|---|
committer | Pedro Worcel <pedro@worcel.com> | 2014-02-22 18:04:56 +1300 |
commit | cffae49e348a444466b46ea08cd982e099cdabc3 (patch) | |
tree | 56272833591a17509f1f0ba9aedc77d15e370184 /test | |
parent | 3e500344282a364f1fbd7245c49d980fe0bfab11 (diff) | |
download | mitmproxy-cffae49e348a444466b46ea08cd982e099cdabc3.tar.gz mitmproxy-cffae49e348a444466b46ea08cd982e099cdabc3.tar.bz2 mitmproxy-cffae49e348a444466b46ea08cd982e099cdabc3.zip |
add helpful messages on wrap
Diffstat (limited to 'test')
-rw-r--r-- | test/test_console_search.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_console_search.py b/test/test_console_search.py index 0e47ef79..f4e9ff9b 100644 --- a/test/test_console_search.py +++ b/test/test_console_search.py @@ -170,7 +170,7 @@ def test_search_backwards_wraps(): # should be on third now. f.search_again(backwards=True) message = f.search_again(backwards=True) - text_object = tutils.get_body_line(f.last_displayed_body, 2) assert text_object.get_text() == ('this is string', [(None, 8), (f.highlight_color, 6)]) + assert message == "search hit TOP, continuing at BOTTOM" |