summaryrefslogtreecommitdiff
path: root/src/panes.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/panes.zig')
-rw-r--r--src/panes.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/panes.zig b/src/panes.zig
index bb026c30..237693fa 100644
--- a/src/panes.zig
+++ b/src/panes.zig
@@ -1559,6 +1559,7 @@ test {
}
test "owned cwd preserves long paths aliases and failed updates" {
+ if (pardes.Term.ops == null) return error.SkipZigTest; // a shell
var allocator = std.testing.FailingAllocator.init(std.testing.allocator, .{});
const p = try Pardes.init(allocator.allocator(), .{ .tty_only = true });
defer p.deinit();
@@ -1656,6 +1657,7 @@ test "owned cwd close copies are transactional across inherited chains" {
}
test "owned cwd column close allocates every copy before removing any pane" {
+ if (pardes.Term.ops == null) return error.SkipZigTest; // the classic boot's three shells
var allocator = std.testing.FailingAllocator.init(std.testing.allocator, .{});
const p = try Pardes.init(allocator.allocator(), .{ .shells = 3, .cols = 100, .rows = 30 });
defer p.deinit();
@@ -1775,6 +1777,7 @@ test "the Tutor pane is named +Tutor in the session's directory, never a bare pa
}
test "New opens an empty scratch below the caller, inheriting its directory" {
+ if (pardes.Term.ops == null) return error.SkipZigTest; // the classic boot's three shells
const p = try Pardes.init(std.testing.allocator, .{ .shells = 3, .cols = 100, .rows = 30 });
defer p.deinit();
while (p.nextEffect()) |_| {}