Also output screen contents when test fails
This commit is contained in:
parent
5bf5454dbe
commit
c455fea729
1 changed files with 1 additions and 1 deletions
|
|
@ -368,4 +368,4 @@ def run_test(argv, *expected, excluded=(), rc='', wait_string='PROMPT $', assert
|
|||
pty.send_cmd_to_child('clone-in-kitty')
|
||||
pty.wait_till(lambda: len(pty.callbacks.clone_cmds) == 1)
|
||||
env = pty.callbacks.clone_cmds[0].env
|
||||
self.ae(env.get('ES'), 'a\n `b` c\n$d')
|
||||
self.ae(env.get('ES'), 'a\n `b` c\n$d', f'Screen contents: {pty.screen_contents()!r}')
|
||||
|
|
|
|||
Loading…
Reference in a new issue