Skip to content

Commit

Permalink
Also output screen contents when test fails
Browse files Browse the repository at this point in the history
  • Loading branch information
kovidgoyal committed Sep 5, 2022
1 parent 5bf5454 commit c455fea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kitty_tests/shell_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}')

0 comments on commit c455fea

Please sign in to comment.