summaryrefslogtreecommitdiff
path: root/test/panes.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/panes.zig')
-rw-r--r--test/panes.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/panes.zig b/test/panes.zig
index f45d42b2..f99f9d56 100644
--- a/test/panes.zig
+++ b/test/panes.zig
@@ -721,7 +721,7 @@ const TtySelectionTests = struct {
const p = try Pardes.init(std.testing.allocator, .{ .tty_only = true, .cols = 40, .rows = 24 });
defer p.deinit();
p.presentation.enabled = false;
- p.spawnTty(0);
+ pardes.exec.spawnTty(p, 0);
for (p.panes[0..2]) |slot| {
slot.?.mode = .tty;
slot.?.tty_filter = false;
@@ -3111,8 +3111,8 @@ const TerminalTests = struct {
defer p.deinit();
while (p.nextEffect()) |_| {} // the host has not acknowledged spawn yet
- try std.testing.expectEqual(@as(?usize, 0), p.execute(0, "echo first"));
- try std.testing.expectEqual(@as(?usize, 0), p.execute(0, "echo second"));
+ try std.testing.expectEqual(@as(?usize, 0), pardes.exec.execute(p, 0, "echo first"));
+ try std.testing.expectEqual(@as(?usize, 0), pardes.exec.execute(p, 0, "echo second"));
while (p.nextEffect()) |effect| switch (effect) {
.write => return error.CommandEscapedBeforeFork,
else => {},