summaryrefslogtreecommitdiff
path: root/test/process/other_files.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/process/other_files.zig')
-rw-r--r--test/process/other_files.zig6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/process/other_files.zig b/test/process/other_files.zig
index 38aa0bd5..69f65884 100644
--- a/test/process/other_files.zig
+++ b/test/process/other_files.zig
@@ -97,7 +97,8 @@ fn recentSurvivesRestart(gpa: std.mem.Allocator, exe: [:0]const u8) !void {
defer arena.deinit();
const a = arena.allocator();
var root_buf: [4096]u8 = undefined;
- var one = try process.Detached.start(gpa, exe, "recent1", .{});
+ // About a jump opening a pane: `Jumps new-pane` (SPEC §6.6).
+ var one = try process.Detached.start(gpa, exe, "recent1", .{ .init = "Jumps new-pane\n" });
const root = keepRoot(&one, &root_buf);
defer removeRoot(root);
const kept = try std.fmt.allocPrint(a, "{s}/kept.txt", .{root});
@@ -147,7 +148,8 @@ fn recentShared(gpa: std.mem.Allocator, exe: [:0]const u8) !void {
defer arena.deinit();
const a = arena.allocator();
var root_buf: [4096]u8 = undefined;
- var one = try process.Detached.start(gpa, exe, "store1", .{});
+ // About a jump opening a pane: `Jumps new-pane` (SPEC §6.6).
+ var one = try process.Detached.start(gpa, exe, "store1", .{ .init = "Jumps new-pane\n" });
const root = keepRoot(&one, &root_buf);
defer removeRoot(root);
{