From f9e538742f149598e26d893732ba249fed6b5e14 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 3 Nov 2026 17:38:40 -0300 Subject: test: review of the core migration's tests: the Pet test takes its branch from the build's platform (pardes_config, imported into the behaviour module, its options alone), not from whether Pet was taken, so a terminal's view taking Pet now fails it; New's absence checked in a file pane's tag and a scratch's made by New, not only in 9P's +New twice; the emptied column's tag shown to have the keyboard (typed into); the pane's tag drawn on the row under a one-row column tag; each checked to fail against a break (Pet without in_window, New in the file pane's tag, an emptied column's focus given to the workspace tag) Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- build.zig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'build.zig') diff --git a/build.zig b/build.zig index 8a9451eb..c90485b6 100644 --- a/build.zig +++ b/build.zig @@ -1880,6 +1880,9 @@ pub fn build(b: *std.Build) void { .link_libc = true, }); behaviour_module.addImport("session", session_module); + // The build's options alone (platform), never the core: a test of a + // window's word knows which build it runs in. + behaviour_module.addImport("pardes_config", core_module.import_table.get("pardes_config").?); const behaviour_tests = b.addTest(.{ .root_module = behaviour_module, .filters = test_filters }); if (test_nonce) |nonce| behaviour_tests.root_module.addImport("test_rebuild_nonce", nonce); test_build.dependOn(&behaviour_tests.step); -- cgit v1.3