diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-18 22:03:14 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-18 22:23:51 -0300 |
| commit | 99f5b10eccd95aa0066ea6fe6bb75f367ab56a47 (patch) | |
| tree | 813596ea84318a7bae4fd7416ba463de8e3b7107 /test | |
| parent | 92d553123673376adf6126ab90d49a22c5b833d2 (diff) | |
| download | pardes-99f5b10eccd95aa0066ea6fe6bb75f367ab56a47.tar.gz pardes-99f5b10eccd95aa0066ea6fe6bb75f367ab56a47.zip | |
core: src/ becomes core/, pardes.zig its root.zig (the reorganisation's tree, step 2d), and every mention of a src/ path follows: the build's paths, the core's imports of its root, the tests that read the repository's files by path (lspbench's, look.zig's spans over core/look.zig), the comments that cite files, the documents and the manual (the typst corpus reads core/tutor.txt and core/plumbing); left as they were: the /src tree's served names (src/pardes.zig and the rest are the 9P tree's, not the repository's), the CHANGELOG's history, fixtures that are only strings; fs-unit-test runs from the core's root (a module of the core rooted at fs.zig had the runtime's and the devices' `core` be fs.zig); nothing else changes: the ledger (pardes.test.* now root.test.*), frames byte-identical, replicas and process-test the base's
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'test')
| -rw-r--r-- | test/behaviour/addons.zig | 2 | ||||
| -rw-r--r-- | test/behaviour/language_servers.zig | 2 | ||||
| -rw-r--r-- | test/daemon.py | 2 | ||||
| -rw-r--r-- | test/deck/replay.zig | 2 | ||||
| -rw-r--r-- | test/e2e_harness.zig | 2 | ||||
| -rw-r--r-- | test/hxdiff.zig | 4 | ||||
| -rw-r--r-- | test/hxlib.zig | 2 | ||||
| -rw-r--r-- | test/kitty.zig | 2 | ||||
| -rw-r--r-- | test/kitty_client.zig | 2 | ||||
| -rw-r--r-- | test/lspbench.zig | 32 | ||||
| -rw-r--r-- | test/macos_e2e.swift | 2 | ||||
| -rw-r--r-- | test/monkey9p.zig | 2 | ||||
| -rw-r--r-- | test/process.zig | 2 | ||||
| -rw-r--r-- | test/process/tty_boot.zig | 2 | ||||
| -rw-r--r-- | test/record_demos.py | 6 | ||||
| -rw-r--r-- | test/replicas.zig | 12 | ||||
| -rw-r--r-- | test/rollback_bench.zig | 6 | ||||
| -rw-r--r-- | test/session.zig | 6 | ||||
| -rw-r--r-- | test/terminal.zig | 4 | ||||
| -rw-r--r-- | test/tty.zig | 2 |
20 files changed, 48 insertions, 48 deletions
diff --git a/test/behaviour/addons.zig b/test/behaviour/addons.zig index 49dfce79..e36b088c 100644 --- a/test/behaviour/addons.zig +++ b/test/behaviour/addons.zig @@ -1,6 +1,6 @@ //! docs/typ/reference.typ, Addons <addons>: a library that brings a kind //! of pane, driven here through addons/fake/fake.c (every function of -//! src/kinds/pardes_addon.h) and the copies of it built wrong. +//! abi/pardes_addon.h) and the copies of it built wrong. const std = @import("std"); const Session = @import("session").Session; const fake = Session.fake_addons; diff --git a/test/behaviour/language_servers.zig b/test/behaviour/language_servers.zig index da7b3d59..ab9585ed 100644 --- a/test/behaviour/language_servers.zig +++ b/test/behaviour/language_servers.zig @@ -1,6 +1,6 @@ //! docs/typ/setup.typ, Language servers <language-servers>: a file's //! language words ask the nearest `index.scip` above it first (SCIP, -//! read by src/lsp/Scip.zig) and its language server when the index has +//! read by dev/lsp/Scip.zig) and its language server when the index has //! nothing to say, here the scripted one (test/lspmock.zig). The indexes //! are made by the protobuf writer below, but for the one a real indexer //! wrote (test/scipfixture). diff --git a/test/daemon.py b/test/daemon.py index 5bdf1fc4..e600beb7 100644 --- a/test/daemon.py +++ b/test/daemon.py @@ -229,7 +229,7 @@ def semantics(binary): class Replica: - """A replica's connection (src/wire.zig): length-prefixed + """A replica's connection (abi/wire.zig): length-prefixed messages, a tag byte and a little-endian u32 length. It is a near client: its first word after the hello says so.""" WIRE = 23 diff --git a/test/deck/replay.zig b/test/deck/replay.zig index 778f4191..0b449503 100644 --- a/test/deck/replay.zig +++ b/test/deck/replay.zig @@ -1,5 +1,5 @@ //! Replays slices of real Steam Deck recordings (deckcap .zon captures) -//! through src/gui/deck.zig and checks the aggregate actions, so the deck +//! through dev/gui/deck.zig and checks the aggregate actions, so the deck //! control mapping is exercised without the device. const std = @import("std"); diff --git a/test/e2e_harness.zig b/test/e2e_harness.zig index 396de8c5..f7d65b03 100644 --- a/test/e2e_harness.zig +++ b/test/e2e_harness.zig @@ -176,7 +176,7 @@ pub const Harness = struct { /// The app's output into the emulator. The one query answered is the /// device status request (`CSI 5 n` → `CSI 0 n`), as every terminal /// does: the tty asks it after each frame and draws no other until the - /// answer (FrameAck in src/tui/tui.zig). + /// answer (FrameAck in dev/tui/tui.zig). fn feed(self: *Harness, bytes: []const u8) void { self.stream.nextSlice(bytes); const request = "\x1b[5n"; diff --git a/test/hxdiff.zig b/test/hxdiff.zig index f18f498b..a368ba26 100644 --- a/test/hxdiff.zig +++ b/test/hxdiff.zig @@ -5,13 +5,13 @@ const std = @import("std"); const pardes = @import("pardes"); const hxkeys = @import("hxkeys.zig"); -// Its own root, so src/main.zig's logFn does not apply here: the core it +// Its own root, so runtime/main.zig's logFn does not apply here: the core it // drives feeds every case's text through ghostty-vt, which narrates each // sequence it does not implement. Cut the libraries back to errors; the // per-case report goes through std.debug, so a mismatch stays loud. // The regex engine is dropped outright rather than cut back: an `s`/`S` case // types its pattern one key at a time, so mvzr is HANDED every incomplete -// prefix of it and logs each one at error level. src/main.zig drops the same +// prefix of it and logs each one at error level. runtime/main.zig drops the same // scope for the same reason. pub const std_options: std.Options = .{ .log_level = .err, .logFn = logFn }; diff --git a/test/hxlib.zig b/test/hxlib.zig index b6c1bfd3..da0cfb11 100644 --- a/test/hxlib.zig +++ b/test/hxlib.zig @@ -1,4 +1,4 @@ -//! hxdiff's cases on the library (`pardes-editor`, src/lib_editor.zig): +//! hxdiff's cases on the library (`pardes-editor`, core/lib_editor.zig): //! each case's keys typed into an editor value, its result printed as //! hxdiff prints a pane's, one line a case, for `hxdiff --actual` to hold //! against helix's goldens or the file pane (`zig build hxlib`). The diff --git a/test/kitty.zig b/test/kitty.zig index 1ba96745..6db6e8fc 100644 --- a/test/kitty.zig +++ b/test/kitty.zig @@ -1305,7 +1305,7 @@ test "kitty: a dumped and restored terminal keeps its images" { const restored = try pardes.dump.restore(r.p, r.p.dump_out.?, "/tmp/pardes-kitty.dump"); defer restored.deinit(); const pane = restored.panes[0].?; - // ghostty's snapshot of the emulator (src/term/terminal.zig) carries them. + // ghostty's snapshot of the emulator (core/term/terminal.zig) carries them. try std.testing.expect(pardes.Term.emulatorOf(pane.terminal.?).vt.screens.active.kitty_images.placements.count() > 0); } diff --git a/test/kitty_client.zig b/test/kitty_client.zig index 03ad629e..4f8d5f57 100644 --- a/test/kitty_client.zig +++ b/test/kitty_client.zig @@ -19,7 +19,7 @@ const sync = "\x1b_Gi=999,s=1,v=1,a=q,t=d,f=24;AAAA\x1b\\"; // The kernel's ioctls on Linux: glibc's tcgetattr writes its 60-byte // termios into Zig's 44-byte kernel one, and std.posix's calls glibc's in a -// program linking libc (src/main.zig exports kernel ones; this has none). +// program linking libc (runtime/main.zig exports kernel ones; this has none). const linux = @import("builtin").os.tag == .linux; fn getTermios() !std.posix.termios { diff --git a/test/lspbench.zig b/test/lspbench.zig index 4b107b25..b257b4f3 100644 --- a/test/lspbench.zig +++ b/test/lspbench.zig @@ -22,25 +22,25 @@ const Anchor = struct { }; const anchors = [_]Anchor{ - .{ .file = "src/edit.zig", .needle = "modal.cursorLineCount(text)", .at = 6, .kind = .definition, .expect = "modal.zig" }, - .{ .file = "src/lsp/lsp.zig", .needle = "lineCol(source", .at = 0, .kind = .definition, .expect = "lsp.zig" }, - .{ .file = "src/lsp/lsp.zig", .needle = "std.mem.count(u8", .at = 8, .kind = .definition, .expect = "mem.zig" }, - .{ .file = "src/lsp/lsp.zig", .needle = "lineCol(source", .at = 0, .kind = .hover, .expect = "" }, - .{ .file = "src/lsp/lsp.zig", .needle = "pub const Kind", .at = 11, .kind = .document_symbols, .expect = "Kind" }, - .{ .file = "src/modal.zig", .needle = "pub fn ", .at = 7, .kind = .document_symbols, .expect = "" }, - .{ .file = "src/lsp/lsp.zig", .needle = "pub const Kind", .at = 11, .kind = .references, .expect = "" }, + .{ .file = "core/edit.zig", .needle = "modal.cursorLineCount(text)", .at = 6, .kind = .definition, .expect = "modal.zig" }, + .{ .file = "core/lsp/lsp.zig", .needle = "lineCol(source", .at = 0, .kind = .definition, .expect = "lsp.zig" }, + .{ .file = "core/lsp/lsp.zig", .needle = "std.mem.count(u8", .at = 8, .kind = .definition, .expect = "mem.zig" }, + .{ .file = "core/lsp/lsp.zig", .needle = "lineCol(source", .at = 0, .kind = .hover, .expect = "" }, + .{ .file = "core/lsp/lsp.zig", .needle = "pub const Kind", .at = 11, .kind = .document_symbols, .expect = "Kind" }, + .{ .file = "core/modal.zig", .needle = "pub fn ", .at = 7, .kind = .document_symbols, .expect = "" }, + .{ .file = "core/lsp/lsp.zig", .needle = "pub const Kind", .at = 11, .kind = .references, .expect = "" }, .{ .file = "test/lspfixture/broken.zig", .needle = "unused_local", .at = 0, .kind = .diagnostics, .expect = "broken.zig" }, - .{ .file = "src/lsp/lsp.zig", .needle = "lineCol(source", .at = 0, .kind = .declaration, .expect = "" }, - .{ .file = "src/lsp/lsp.zig", .needle = "out: *std.Io.Writer", .at = 0, .kind = .type_definition, .expect = "" }, - .{ .file = "src/lsp/lsp.zig", .needle = "pub const Kind", .at = 11, .kind = .implementation, .expect = "" }, - .{ .file = "src/lsp/lsp.zig", .needle = "pub const Kind", .at = 11, .kind = .select_refs, .expect = "" }, + .{ .file = "core/lsp/lsp.zig", .needle = "lineCol(source", .at = 0, .kind = .declaration, .expect = "" }, + .{ .file = "core/lsp/lsp.zig", .needle = "out: *std.Io.Writer", .at = 0, .kind = .type_definition, .expect = "" }, + .{ .file = "core/lsp/lsp.zig", .needle = "pub const Kind", .at = 11, .kind = .implementation, .expect = "" }, + .{ .file = "core/lsp/lsp.zig", .needle = "pub const Kind", .at = 11, .kind = .select_refs, .expect = "" }, .{ .file = "test/lspfixture/broken.zig", .needle = "badly_spaced", .at = 0, .kind = .format, .expect = "" }, - .{ .file = "src/lsp/lsp.zig", .needle = "pub fn query", .at = 7, .kind = .code_action, .expect = "" }, - .{ .file = "src/lsp/lsp.zig", .needle = "pub fn query", .at = 7, .kind = .rename, .expect = "" }, - .{ .file = "src/lsp/lsp.zig", .needle = "pub const Kind", .at = 11, .kind = .workspace_symbols, .expect = "" }, + .{ .file = "core/lsp/lsp.zig", .needle = "pub fn query", .at = 7, .kind = .code_action, .expect = "" }, + .{ .file = "core/lsp/lsp.zig", .needle = "pub fn query", .at = 7, .kind = .rename, .expect = "" }, + .{ .file = "core/lsp/lsp.zig", .needle = "pub const Kind", .at = 11, .kind = .workspace_symbols, .expect = "" }, .{ .file = "test/lspfixture/broken.zig", .needle = "unused_local", .at = 0, .kind = .workspace_diagnostics, .expect = "broken.zig" }, - .{ .file = "src/lsp/lsp.zig", .needle = "std.mem.count(u8", .at = 4, .kind = .completion, .expect = "std.zig" }, - .{ .file = "src/normal.zig", .needle = ".definition => .definition,", .at = 1, .kind = .completion, .expect = "" }, + .{ .file = "core/lsp/lsp.zig", .needle = "std.mem.count(u8", .at = 4, .kind = .completion, .expect = "std.zig" }, + .{ .file = "core/normal.zig", .needle = ".definition => .definition,", .at = 1, .kind = .completion, .expect = "" }, // The repeated name proves the result includes the declaration, not just the cursor line. .{ .file = "test/lspfixture/dotcomplete.zig", .needle = "return switch (s) {\n .", .at = 29, .kind = .completion, .expect = "verdigris verdigris," }, // Indentation keeps the fixture header from becoming the first needle match. diff --git a/test/macos_e2e.swift b/test/macos_e2e.swift index 2b0eedad..74a03200 100644 --- a/test/macos_e2e.swift +++ b/test/macos_e2e.swift @@ -5,7 +5,7 @@ // zig build macos-e2e -Dplatform=macos -- --update regenerate goldens // zig build macos-e2e -Dplatform=macos -- test/macos-snapshots/boot.snap // -// This is the only test the Swift half has. src/macos.zig's ABI guard proves +// This is the only test the Swift half has. runtime/macos.zig's ABI guard proves // the header and the Zig side agree, and it runs on Linux; nothing there ever // constructs a PardesView, translates a gesture, or asks CoreText to paint a // glyph. So the harness links the SHIPPING view — not a stub, and with no test diff --git a/test/monkey9p.zig b/test/monkey9p.zig index a4bf92a3..1f213a3b 100644 --- a/test/monkey9p.zig +++ b/test/monkey9p.zig @@ -16,7 +16,7 @@ //! tape of what its sessions consumed and replaying it, as `PARDES_REPLAY` //! replays a real session's: into two replicas at different addresses and //! one that never draws, every digest checked, and each session's dump -//! loaded to its digest and dumped to its bytes again (src/tape.zig). +//! loaded to its digest and dumped to its bytes again (core/tape.zig). //! //! A step's op is drawn from the seed alone: the panes, columns and held //! files it names are tokens (`{p3}`: /index's 4th serial, mod its length, diff --git a/test/process.zig b/test/process.zig index 254aac22..8bcbddeb 100644 --- a/test/process.zig +++ b/test/process.zig @@ -608,7 +608,7 @@ pub const Detached = struct { try eh.writeFile(path, "initial\n"); break :blk path; }; - // The session's socket, as its 9P service links it (src/9p_io.zig). + // The session's socket, as its 9P service links it (runtime/9p_io.zig). const sock_path = try std.fmt.bufPrint(&d.socket_buf, "{s}/9p/pardes/{s}", .{ dir, opts.socket orelse name }); d.socket_len = sock_path.len; // A window takes no --detach: it is its own session, named by --9p. diff --git a/test/process/tty_boot.zig b/test/process/tty_boot.zig index 1d49dc8e..a5f42074 100644 --- a/test/process/tty_boot.zig +++ b/test/process/tty_boot.zig @@ -205,7 +205,7 @@ fn builtins(gpa: std.mem.Allocator, exe: [:0]const u8) !void { } // Dump writes the whole session to this fixture's $DUMP path, a dump of the -// walk (src/walk.zig), and `-l` of it is that session again: the text typed +// walk (core/walk.zig), and `-l` of it is that session again: the text typed // into a terminal over its history comes back where it was. fn dump(gpa: std.mem.Allocator, exe: [:0]const u8) !void { var t = try Tty.init(gpa, exe, "dump"); diff --git a/test/record_demos.py b/test/record_demos.py index 22dc8b7e..975991f7 100644 --- a/test/record_demos.py +++ b/test/record_demos.py @@ -12,7 +12,7 @@ stops, and presses and releases still, a ring and the button's name drawn. ffmpeg encodes the timeline to docs/site/media/<clip>.webm and .mp4, with <clip>.png as its poster and captions.txt beside them (clips.toml, which the site reads, is kept by hand). `themes` instead writes -docs/site/media/themes/<theme>.png for each theme of src/themes, in the +docs/site/media/themes/<theme>.png for each theme of core/themes, in the Themes builtin's order, and themes.toml. Needs a Wayland display for the hidden window, gcc and git for the demo @@ -857,7 +857,7 @@ def theme_scene(s): def theme_order(s): """The themes as the Themes builtin lists them, up to the imported - ones: pardes's own, the ports and the legacy pair (src/themes).""" + ones: pardes's own, the ports and the legacy pair (core/themes).""" s.write('/ctl', 'Themes\n') s.wait(lambda: any(s.read(f'/pane/{n}/name').strip().endswith('+Themes') for n in s.panes()), '+Themes') pane = next(n for n in s.panes() if s.read(f'/pane/{n}/name').strip().endswith('+Themes')) @@ -888,7 +888,7 @@ def save_theme_png(data, path): def record_themes(binary, work): - """docs/site/media/themes/<theme>.png for every theme of src/themes, in + """docs/site/media/themes/<theme>.png for every theme of core/themes, in the Themes builtin's order, and themes.toml listing them.""" make_project() s = Session(binary, work / 'themes', 'rec-themes', [PROJECT / 'src/main.c'], rows=22) diff --git a/test/replicas.zig b/test/replicas.zig index 07557924..a122ac9f 100644 --- a/test/replicas.zig +++ b/test/replicas.zig @@ -1,5 +1,5 @@ //! pardes-replicas: a session and its clients in one process -//! (src/replica.zig), each a process of its own for what a process holds +//! (core/replica.zig), each a process of its own for what a process holds //! (`Proc`): the session's own frontend typing in its view and drawing it, //! and each client (a terminal's loop or a window's, by turns) joined from //! the session's dump for a view of its own, typing at once over its own @@ -10,7 +10,7 @@ //! and joins again for its view, and those past the views a session has //! are refused until one is let go. //! -//! Terminals cross as screen state (src/term/screen_state.zig): the session's +//! Terminals cross as screen state (core/term/screen_state.zig): the session's //! shell pane runs a full-screen program and then a `yes` flood (`--flood` //! MB of it) while the clients type, its output stepped by the authority //! and sent to each replica as deltas, once a frame and before any input @@ -22,7 +22,7 @@ //! zig build replicas -Dplatform=tui -Doptimize=ReleaseFast -- --screen-state <dir> //! //! `--echo` types a corpus into a shell instead, with and without the -//! predicted echo (src/term/echo.zig), and gates what it draws: below, at +//! predicted echo (core/term/echo.zig), and gates what it draws: below, at //! "predicted echo". `--screen-state` runs recorded pty streams through //! screen_state's soak and measures its encoder: below, at screenState. //! @@ -1280,7 +1280,7 @@ fn run(r: Run, dir: []const u8, totals: *Totals) !void { } } // ...and every file's text the authority's, byte for byte: a digest - // takes a text of 4 KiB and up by its length (src/walk.zig). + // takes a text of 4 KiB and up by its length (core/walk.zig). for (a.core.panes, 0..) |slot, pid| { const f = (slot orelse continue).file orelse continue; const mine = if (rp.core().panes[pid]) |pane| pane.file else null; @@ -1380,7 +1380,7 @@ fn diffCase(dir: []const u8) !bool { return ok; } -/// Looks the plumber takes (src/plumbing), each as the authority's input +/// Looks the plumber takes (core/plumbing), each as the authority's input /// and as a replica's own: a URL (its web port: no disk asked, so a /// replica's own look speculates whole and is confirmed with no rollback), /// and a commit hash in a git work tree (Diff's `git show`, its `.git` @@ -1557,7 +1557,7 @@ fn sendUnit(q: *std.PriorityQueue(Msg, void, Msg.order), n: *u64, unit: []const // plain echo, no marks). Each key's echo comes back 2 ms after the authority // writes it, as a shell's. The client types at a typist's pace and in bursts; // each of its frames (60 Hz, a phase of its own) is what its screen shows: -// the predicted echo where it is drawn (src/term/echo.zig), the screen state +// the predicted echo where it is drawn (core/term/echo.zig), the screen state // under it. Per key the shell echoed at a prompt or in cat: the time from // the key to its character on that screen, with prediction and without. Per // key predicted: whether the authority's screen, right after its echo, diff --git a/test/rollback_bench.zig b/test/rollback_bench.zig index d734f5cf..796f7135 100644 --- a/test/rollback_bench.zig +++ b/test/rollback_bench.zig @@ -1,5 +1,5 @@ //! What a replica's rollback copy costs (docs/next-daemon.md, open point -//! 3, src/rollback.zig), and what a fork of the authority stalls it for +//! 3, core/rollback.zig), and what a fork of the authority stalls it for //! (open point 5). A typical session and a big one are built in process, on //! a rollback epoch's allocator as a replica's core is; for each: //! - the copy taken and let go: its time, the bytes it saves, the bytes @@ -8,8 +8,8 @@ //! the copy put back: the apply's time and the restore's. //! Then a fork of the big one, child gone at once, and the authority's //! copy-on-write after it. Last, a session's authority with a 100 MB file -//! open (src/replica.zig): a key into it, a unit as a replica is sent it, -//! and a digest (src/walk.zig: a big text by its length). +//! open (core/replica.zig): a key into it, a unit as a replica is sent it, +//! and a digest (core/walk.zig: a big text by its length). //! //! zig build rollback-bench -Dplatform=tui -Doptimize=ReleaseFast const std = @import("std"); diff --git a/test/session.zig b/test/session.zig index cd04ecb8..844ea2fe 100644 --- a/test/session.zig +++ b/test/session.zig @@ -51,7 +51,7 @@ pub const Session = struct { watches: pardes.file_watch.Table = @splat(null), /// A session showing one file pane holding `text`, keeping what outlives - /// it in a database in memory (src/Db.zig). + /// it in a database in memory (core/Db.zig). pub fn initFile(gpa: std.mem.Allocator, text: []const u8) !Session { const p = try Pardes.init(gpa, .{ .tty_only = true, .cols = 80, .rows = 24, .state = .memory }); errdefer p.deinit(); @@ -208,7 +208,7 @@ pub const Session = struct { /// Every session started from here on records what it consumes as a /// tape in memory, as PARDES_RECORD has a real one record it - /// (src/tape.zig); `replayTape` replays it once the session is gone. + /// (core/tape.zig); `replayTape` replays it once the session is gone. pub fn recordTape(gpa: std.mem.Allocator) !void { const t = try gpa.create(pardes.tape.Tape); t.* = pardes.tape.memory(gpa); @@ -270,7 +270,7 @@ pub const Session = struct { s.tag += 1; q.tag = s.tag; const r = pardesOf(s).serveFs(q); - // As the server does (src/9p_io.zig): a clunk's held lines run then. + // As the server does (runtime/9p_io.zig): a clunk's held lines run then. if (q.op == .release) pardes.ctlfs.runClosedLines(pardesOf(s)); s.drain(); // A Restore asked for is performed once its write is answered (the diff --git a/test/terminal.zig b/test/terminal.zig index cfc58e52..fafaa605 100644 --- a/test/terminal.zig +++ b/test/terminal.zig @@ -1,8 +1,8 @@ //! The terminal through the core (docs/next-terminal.md, Phase 1): what -//! were src/term/terminal.zig's and screen_state.zig's tests of a terminal +//! were core/term/terminal.zig's and screen_state.zig's tests of a terminal //! pane, moved as they were. They boot a core and read the emulator behind //! it, so they need both modules, which only a suite outside both has: -//! pane-test's (test/panes.zig). The emulator's own tests stay in src/term/. +//! pane-test's (test/panes.zig). The emulator's own tests stay in core/term/. const std = @import("std"); const pardes = @import("pardes"); const plain = @import("plain"); diff --git a/test/tty.zig b/test/tty.zig index d41159a0..a6e37c6c 100644 --- a/test/tty.zig +++ b/test/tty.zig @@ -46,7 +46,7 @@ pub var goldens: []const u8 = "test/snapshots"; /// (`--lspmock=`); empty leaves every language client off. pub var lspmock: []const u8 = ""; /// `--replay`: every session a case starts records its tape -/// (PARDES_RECORD, src/tape.zig), and the case fails unless each replays +/// (PARDES_RECORD, core/tape.zig), and the case fails unless each replays /// (PARDES_REPLAY) into its three replicas, the session's dump at its end /// loaded to its digest: what a real session's host answered (its shells, /// ptys and files) replayed, as the T1 runner's `--replay` replays an |
