summaryrefslogtreecommitdiff
path: root/core/Core.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/Core.zig')
-rw-r--r--core/Core.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/Core.zig b/core/Core.zig
index e9f4f0e4..b109b073 100644
--- a/core/Core.zig
+++ b/core/Core.zig
@@ -2945,7 +2945,7 @@ test "a REPL bound for a language takes the exec made on a body in it; tags, Exe
// A body's click written back to event is done as the click: sent. A
// line written to exec came back as F and runs as the command it was.
{
- const th = @import("ninep/testing.zig");
+ const th = @import("ninep/harness.zig");
const event = ctlfs.Node.of(file.serial, .event);
const h = th.call(p, .{ .tag = 1, .op = .open, .node = event }).reply.handle;
defer _ = th.call(p, .{ .tag = 2, .op = .release, .node = event, .handle = h });
@@ -3039,7 +3039,7 @@ test "a REPL bound for a language takes the exec made on a body in it; tags, Exe
try std.testing.expect(Sent.len[1] == 0 and file.prompt == .none);
// The question is in the log, and a script answers it on the ctl.
{
- const th = @import("ninep/testing.zig");
+ const th = @import("ninep/harness.zig");
_ = exec.executeFrom(p, 0, "print(5)", true);
var want: [32]u8 = undefined;
try std.testing.expect(th.logHas(p, try std.fmt.bufPrint(&want, "ask {d} repl a b\n", .{file.serial})));
@@ -3541,7 +3541,7 @@ test "Tab N draws every pane's tab N cells wide and clicks count past it; bare T
try std.testing.expect(p.executeBuiltinLine(0, "Tab 0"));
try std.testing.expectEqual(@as(u16, 8), p.settings.tab);
// The ctl read's tab column, and a Dump's settings.
- const ctl_text = @import("ninep/testing.zig").rd(p, ctlfs.Node.of(pane.serial, .ctl), 0, 4096).bytes;
+ const ctl_text = @import("ninep/harness.zig").rd(p, ctlfs.Node.of(pane.serial, .ctl), 0, 4096).bytes;
try std.testing.expect(std.mem.indexOf(u8, ctl_text, " 8 ") != null);
try dump.dumpState(p);
const restored = try dump.restore(p, p.dump_out.?, "/tmp/pardes.dump.zon");