diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-08 23:21:47 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-09 01:28:28 -0300 |
| commit | 094b562b5b90558e82a9c3e2beea386d93bd1803 (patch) | |
| tree | 23e49a2f2c308acbacba532a126bb6b1631d7aca /test/snapshots/savepane.snap | |
| parent | 80db18269dd9f7153a02f3efa6ff92c69948a623 (diff) | |
| download | pardes-094b562b5b90558e82a9c3e2beea386d93bd1803.tar.gz pardes-094b562b5b90558e82a9c3e2beea386d93bd1803.zip | |
tests: the boot, argv and builtins snapshot scripts (22: argv badutf boot builtins dump load restore headersweep headersweep-restored logquiet tutor topbarexec leader mini ninep nested nested-optout shellset msg winch savepane filewatch) are process cases, test/process/tty_boot.zig, each its script's steps as Tty calls and its golden unchanged as its expectation; checked against the old runner by two breaks, the message stamp's spacing (3 fail in both) and the tty reading a middle press as a right one (the same 9 in both)
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'test/snapshots/savepane.snap')
| -rw-r--r-- | test/snapshots/savepane.snap | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/test/snapshots/savepane.snap b/test/snapshots/savepane.snap deleted file mode 100644 index 58df13ef..00000000 --- a/test/snapshots/savepane.snap +++ /dev/null @@ -1,33 +0,0 @@ -# `Save` with NO argument on a +New scratch: the prompt is drawn in the tag, -# prefilled with the pane's own directory, and submitting it turns the scratch -# into an ordinary file pane whose bytes are on disk. -# -# config.zig's save_marker is rendered in no other golden in the suite. Ten -# unit tests assert the STRING startSavePrompt builds (pardes.zig's "Save on a -# scratch asks for a path in its inherited dir and makes it a file"); none of -# them can see it drawn, land on the tag rather than the message row, or show -# what the pane becomes afterwards. That is what this script is for. -start 31 100 -n 1 -wait 8000 Newcol Joincol -stable 700 20000 -# a scratch of our own, with something in it to save -key space f n -stable 400 5000 -key i -text scratch bytes -key esc -settle 100 -stable 400 5000 -snap scratch -# Save, no argument: the tag gains the armed ` Save <dir>/` prompt, and the -# pane is still the scratch — nothing is written until the path is submitted -key space f s -stable 400 5000 -snap prompt -# name it: the prompt submits, the pane becomes that file (its tag is the path, -# and the `*` is gone because what is on screen is what is on disk) -text saved.txt -key enter -stable 700 15000 -snap saved -snapfile bytes saved.txt |
