summaryrefslogtreecommitdiff
path: root/src/Store.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-09 00:52:52 -0300
committerGabriel Schneider <[email protected]>2026-11-09 01:28:28 -0300
commit5157579ff7f9ae0cfc3c7629e953da05bce340fc (patch)
tree02147789efdcea998981efcfe05d4bcb3e9bb7b0 /src/Store.zig
parent4c4b9bf54d77dbc0f9f4e2619746908e501c6001 (diff)
downloadpardes-5157579ff7f9ae0cfc3c7629e953da05bce340fc.tar.gz
pardes-5157579ff7f9ae0cfc3c7629e953da05bce340fc.zip
tests: at the end of their files: every top-level test block of the 46 files that had one mid-file (the locality analysis's 45 and test/hxdiff.zig; gui.zig, macos.zig, look, host_io, 9p_io, terminal, tui, mouse, fs, replica, layout among them, 11,429 test lines), with the functions only tests call, moved after the file's code in their order, a mechanical move (.scratch/suites/tests_to_end.py), zig fmt'd; the unit suites pass as before (tui 1486/1487, gui 1536/1537, core 956/956 on both), macos.zig only parse-checked here
Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/Store.zig')
-rw-r--r--src/Store.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Store.zig b/src/Store.zig
index 1545e537..61678be6 100644
--- a/src/Store.zig
+++ b/src/Store.zig
@@ -256,6 +256,8 @@ pub fn closedAddress(word: []const u8) ?u32 {
const testing = std.testing;
+const panes_mod = @import("panes.zig");
+
/// A window keeping its state in `dir` (never the user's DumpDir).
fn testWindow(dir: []const u8) !*Pardes {
var config: [4200]u8 = undefined;
@@ -344,5 +346,3 @@ test "store: a closed pane comes back where it was, its rows from the pane that
defer w.deinit();
try testing.expectEqual(@as(usize, 0), w.store.closed.items.len);
}
-
-const panes_mod = @import("panes.zig");