summaryrefslogtreecommitdiff
path: root/core/look.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/look.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/look.zig')
-rw-r--r--core/look.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/look.zig b/core/look.zig
index f7084079..1023a532 100644
--- a/core/look.zig
+++ b/core/look.zig
@@ -2302,7 +2302,7 @@ test "every entry point to Look takes one expansion: a diff line and a file:12:5
var fx: DiffFixture = undefined;
try fx.init(true, &.{.{ "src/x.zig", numbered }}, diff_text);
defer fx.tmp.cleanup();
- const th = @import("ninep/testing.zig");
+ const th = @import("ninep/harness.zig");
// `column` -1: wherever a click puts it, every other way the same.
const Case = struct { text: []const u8, name: []const u8, row: u16, col: u16, sweep: [2]u16, line: i32, column: i32 };
const cases = [_]Case{
@@ -2391,7 +2391,7 @@ test "a tag word looked at by a click and by Enter is one record to an event rea
var fx: DiffFixture = undefined;
try fx.init(true, &.{.{ "src/x.zig", "line one\n" }}, diff_text);
defer fx.tmp.cleanup();
- const th = @import("ninep/testing.zig");
+ const th = @import("ninep/harness.zig");
const p = try Pardes.init(std.testing.allocator, .{ .cols = 100, .rows = 30 });
defer p.deinit();
const pane = try fx.open(p, diff_text);