diff options
Diffstat (limited to 'test/process/edit.zig')
| -rw-r--r-- | test/process/edit.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/process/edit.zig b/test/process/edit.zig index 8cccfdd1..30477552 100644 --- a/test/process/edit.zig +++ b/test/process/edit.zig @@ -47,8 +47,8 @@ fn editCommands(gpa: std.mem.Allocator, exe: [:0]const u8) !void { const root = d.root(); try d.put("a.txt", "pear\napple\nfig\n"); try d.put("b.txt", "apple pie\n"); - const a = try c.look(ar, f.at("{s}/a.txt", .{root})); - const b = try c.look(ar, f.at("{s}/b.txt", .{root})); + const a = try c.look(ar, f.at("{s}/a.txt", .{root}), null); + const b = try c.look(ar, f.at("{s}/b.txt", .{root}), null); const actl = f.at("/pane/{d}/ctl", .{a}); const abody = f.at("/pane/{d}/body", .{a}); // The write returns with the text sorted, through the session's shell @@ -121,7 +121,7 @@ fn editCommands(gpa: std.mem.Allocator, exe: [:0]const u8) !void { // A file changed on disk under unsaved edits: Edit's w refuses once, as // Save does, and the next w overwrites it. try d.put("w1.txt", "one\n"); - const w = try c.look(ar, f.at("{s}/w1.txt", .{root})); + const w = try c.look(ar, f.at("{s}/w1.txt", .{root}), null); const wctl = f.at("/pane/{d}/ctl", .{w}); try c.write(wctl, "Edit $a/two/\n"); const changed = f.at("\nchanged {d}", .{w}); |
