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/badutf.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/badutf.snap')
| -rw-r--r-- | test/snapshots/badutf.snap | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/test/snapshots/badutf.snap b/test/snapshots/badutf.snap deleted file mode 100644 index 7171df00..00000000 --- a/test/snapshots/badutf.snap +++ /dev/null @@ -1,24 +0,0 @@ -# Invalid UTF-8 must RENDER, never panic. Two sources, both ordinary use: -# a file pane holds whatever bytes are on disk (latin-1, a truncated sequence, -# an ELF opened by mistake). Undecodable bytes come out as U+FFFD, while -# horizontal scrolling must start at a complete grapheme boundary. -file bad.txt hello \xff\xfe world\nlatin-1 caf\xe9 tail\ntruncated \xe6\x97 here\nend\n -file wide.txt \xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e \xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e \xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e \xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e \xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e \xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e \xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e tail\nsecond line\n -start 31 100 bad.txt -wait 8000 Newcol Joincol -stable 700 20000 -snap badbytes -# 50 columns, not 100: a FILE boots alone and fills the window, and at 100 the -# whole line fits, so `$` scrolls nowhere. This is -# the width the left column used to be, i.e. the pane this case was written for -start 31 50 wide.txt -wait 8000 Newcol Joincol -stable 700 20000 -# SPC t w turns soft wrap OFF: hscroll is the other half of this case and a -# wrapped body has nothing to scroll sideways. The unwrapped view must keep the -# first visible CJK glyph intact instead of starting inside its UTF-8 bytes. -key space t w -stable 400 5000 -key g l -stable 700 10000 -snap hscroll-midglyph |
