summaryrefslogtreecommitdiff
path: root/core/Addon.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/Addon.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/Addon.zig')
-rw-r--r--core/Addon.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Addon.zig b/core/Addon.zig
index ec2f796a..0b60ca9c 100644
--- a/core/Addon.zig
+++ b/core/Addon.zig
@@ -911,7 +911,7 @@ test "addon reload gives migration the old record version and saves the new vers
return if (version == 1 and n == 1 and bytes[0] == 7) Kind.c.PA_OK else 1;
}
};
- const p = try @import("ninep/testing.zig").withFile(std.testing.allocator, "x\n");
+ const p = try @import("ninep/harness.zig").withFile(std.testing.allocator, "x\n");
defer p.deinit();
var old = std.mem.zeroInit(Kind.Ops, .{ .head = std.mem.zeroInit(Kind.c.pa_head, .{ .size = @sizeOf(Kind.c.pa_head), .abi = Kind.abi, .version = 1 }), .open = Fake.open, .paint = Fake.paint, .dump = Fake.save, .load = Fake.load });
@memcpy(old.head.name[0..7], "migrate");