diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-04 10:40:00 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-04 10:40:53 -0300 |
| commit | b798f2c1cf5dd4f98c8c1f81c8642b005890f6ee (patch) | |
| tree | 202677c160f685012317f867192fc011f8ffa703 /test/panes.zig | |
| parent | 7bbcd971a761def328fb9eeb881301bf45fb4783 (diff) | |
| download | pardes-b798f2c1cf5dd4f98c8c1f81c8642b005890f6ee.tar.gz pardes-b798f2c1cf5dd4f98c8c1f81c8642b005890f6ee.zip | |
test: ten more of src/ninep/ctl.zig's tests through the 9P tree alone, in test/behaviour/panes.zig: get reloading from disk and asking once over unsaved text, Get and Get file (asking once, loading a file by a name from the pane's directory), Undo after Get file or Edit e putting the old name, text and clean state back with Putall saving nothing, a failed Get file leaving no name, text or undo step changed, Zerox's twins (one text, undo and dirty state, a cursor each, Del of one asking nothing, a rename logged for each), the small refusals (one name an open, EISDIR, EACCES and ENOTDIR in words, /dev/zero not a regular file, twins saved once by Putall, a 2-byte scratch loaded over unasked) and Get of a file not there saying so unasked; in root_ctl.zig a bad Tab width and a bad Incl directory refused, changing nothing (bare Incl's list the same); the Zerox test kept for its Save performed, and the init-file half of the Get test, each trimmed; each checked to fail against a break (get's Modified words, Get not asking about unsaved edits, an undo of a load not putting the name back, Del asking about a twin, a twin's rename not logged, Putall saving each twin, Get's not-there check after the ask, Tab taking 17, a failed Get file pushing an undo step)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'test/panes.zig')
0 files changed, 0 insertions, 0 deletions
