Skip to content

Commit

Permalink
[tests] Change test slightly so that failing output will be emitted
Browse files Browse the repository at this point in the history
  • Loading branch information
heapcrash committed Jul 10, 2020
1 parent 2c33601 commit b5d284b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pwnlib/ui.py
Expand Up @@ -312,7 +312,8 @@ def more(text):
text
>>> p = testpwnproc("more('text\\n' * (term.height + 2))")
>>> p.send(b"x")
>>> b"text" in p.recvall()
>>> data = p.recvall()
>>> b"text" in data or data
True
"""
if term.term_mode:
Expand Down

0 comments on commit b5d284b

Please sign in to comment.