diff options
Diffstat (limited to 'test/process')
| -rw-r--r-- | test/process/window.zig | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/test/process/window.zig b/test/process/window.zig index 59c84616..2a1331ad 100644 --- a/test/process/window.zig +++ b/test/process/window.zig @@ -402,10 +402,10 @@ fn corpus(gpa: std.mem.Allocator, exe: [:0]const u8) !void { defer arena.deinit(); const a = arena.allocator(); defer _ = system("rm -rf -- /tmp/pardes-gui-corpus"); - // Its Looks open panes and Del them by serial, as `Jumps new-pane` - // does (SPEC ยง6.6): under walk a file pane steps in place, a new - // serial, and the frames would not be the base's to compare. - const init = "Shell /bin/sh\nTheme forge\nMessageLinger 0\nCursorBlink off\nJumps new-pane\n"; + // Jumps walk, the default: the file pane's Looks at files step it in + // place, the same pane (its serial kept, Trail.show); a picture's and a + // PDF's open panes of their own. + const init = "Shell /bin/sh\nTheme forge\nMessageLinger 0\nCursorBlink off\n"; var k: Corpus = .{ .gpa = gpa, .a = a, .out = out }; { try corpusRoot(a); @@ -474,7 +474,8 @@ fn corpus(gpa: std.mem.Allocator, exe: [:0]const u8) !void { const image = try paneWith(f, "ramp.ppm"); try k.keep(&d, 0, "09 an image pane", false); try f.write(f.at("/pane/{d}/exec", .{image}), "Del\n"); - try f.write(f.at("/pane/{d}/exec", .{notes}), "Del\n"); + // The file pane walks back to shapes.zig (its trail's step). + try f.write(f.at("/pane/{d}/look", .{notes}), root ++ "/shapes.zig\n"); try f.write(f.at("/pane/{d}/look", .{first}), root ++ "/doc.pdf\n"); _ = try paneWith(f, "doc.pdf"); try k.keep(&d, 0, "09 a PDF pane", false); |
