summaryrefslogtreecommitdiff
path: root/src/panes.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/panes.zig')
-rw-r--r--src/panes.zig22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/panes.zig b/src/panes.zig
index 6b6f621a..f1bb46c8 100644
--- a/src/panes.zig
+++ b/src/panes.zig
@@ -699,17 +699,6 @@ pub const mini = @import("mini.zig");
pub const terminal = @import("terminal.zig");
-test {
- _ = Pane;
- _ = Text;
- _ = File;
- _ = Output;
- _ = Dir;
- _ = mini;
- _ = @import("Kind.zig");
- _ = terminal;
-}
-
// ---- the session's pane slots: making, finding, closing and freeing panes, and their prompts ----
const tutor_text = @embedFile("tutor.txt");
@@ -1115,6 +1104,17 @@ pub fn promptTarget(p: *Pardes, pane: *Pane) ?*Text {
};
}
+test {
+ _ = Pane;
+ _ = Text;
+ _ = File;
+ _ = Output;
+ _ = Dir;
+ _ = mini;
+ _ = @import("Kind.zig");
+ _ = terminal;
+}
+
test "owned cwd preserves long paths aliases and failed updates" {
var allocator = std.testing.FailingAllocator.init(std.testing.allocator, .{});
const p = try Pardes.init(allocator.allocator(), .{ .tty_only = true });