mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-28 03:01:57 +02:00
Also output screen contents when test fails
This commit is contained in:
@@ -368,4 +368,4 @@ PS1="{ps1}"
|
|||||||
pty.send_cmd_to_child('clone-in-kitty')
|
pty.send_cmd_to_child('clone-in-kitty')
|
||||||
pty.wait_till(lambda: len(pty.callbacks.clone_cmds) == 1)
|
pty.wait_till(lambda: len(pty.callbacks.clone_cmds) == 1)
|
||||||
env = pty.callbacks.clone_cmds[0].env
|
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}')
|
||||||
|
|||||||
Reference in New Issue
Block a user