summaryrefslogtreecommitdiff
path: root/core/dump.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-19 21:38:07 -0300
committerGabriel Schneider <[email protected]>2026-11-19 22:01:15 -0300
commitb8a6b0589ddbe65a4c80272ff44ceb77d2f0d02f (patch)
tree867467c655b0152d947515951e96591483fbb99b /core/dump.zig
parenta18b99e1e0862de4b3c8fd55e0fd816fe2dca621 (diff)
downloadpardes-b8a6b0589ddbe65a4c80272ff44ceb77d2f0d02f.tar.gz
pardes-b8a6b0589ddbe65a4c80272ff44ceb77d2f0d02f.zip
core, docs: the control tree's test harness is core/ninep/harness.zig, no longer core/ninep/testing.zig (P18, the user's ruling on the tree step's name collisions: the file's name collided with the future `core.testing`): the file moved whole in this change, so its history follows it (no line of it changed), and its 27 imports follow, nine `@import("testing.zig")` in core/ninep (addr, cols, ctl, events, pane, pty, screen, sources, tree) and 18 `@import("ninep/testing.zig")` in core (Addon, Core three, Dir, Effect, Query, dump three, edit_cmd, fs, keys, look two, mouse, sam_edit, tape), with the two design notes naming it (docs/next-tests.md, docs/next-terminal.md); the build and the root's test lists never named it; a rename only, nothing else on any line; tui core-test 848/991 (143 skipped), shell-test 1027/1030, the window builds (`install -Dplatform=gui`), the macOS library for Linux and aarch64-macos and the FreeBSD cross-build rc 0, under a load of 22 to 60
Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'core/dump.zig')
-rw-r--r--core/dump.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/dump.zig b/core/dump.zig
index 1616f557..35975a9b 100644
--- a/core/dump.zig
+++ b/core/dump.zig
@@ -985,7 +985,7 @@ test "a session with every column it may hold dumps and restores them all" {
}
test "a restored session's column and workspace tags take more than one selection, and its 9P files have a time" {
- const th = @import("ninep/testing.zig");
+ const th = @import("ninep/harness.zig");
const gpa = std.testing.allocator;
const p = try Pardes.init(gpa, .{ .tty_only = true });
defer p.deinit();
@@ -1037,7 +1037,7 @@ test "a pane restored with unsaved text is asked about by Exit, Restore, Del and
const id = for (restored.panes, 0..) |slot, i| {
if (slot) |candidate| if (candidate.file != null and candidate.file.?.output == null) break i;
} else return error.FileLost;
- const th = @import("ninep/testing.zig");
+ const th = @import("ninep/harness.zig");
const node = if (word == .Del or word == .get)
ctlfs.Node.of(restored.panes[id].?.serial, .ctl)
else
@@ -1171,7 +1171,7 @@ test "a session's byte dump read by name, field by field as another build reads
test "an old dump's file, a byte dump, is read by -l and by a Restore of its path, for one release" {
const gpa = std.testing.allocator;
- const th = @import("ninep/testing.zig");
+ const th = @import("ninep/harness.zig");
const p = try Pardes.init(gpa, .{ .tty_only = true });
defer p.deinit();
_ = try p.setTestFile("kept in a .dump\n");