summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-19 23:51:23 -0300
committerGabriel Schneider <[email protected]>2026-11-20 00:00:00 -0300
commit8a1f65a2d374796b9b5559c4aab87c8d1e8f6e68 (patch)
tree24c4d770b8ac5a11e1f0169f9e0707fda8cde678 /test
parentd236dff22567c2f563756695598678afb84fbef4 (diff)
parenta310585195484b8420f14cff3e736c604f47c11e (diff)
downloadpardes-8a1f65a2d374796b9b5559c4aab87c8d1e8f6e68.tar.gz
pardes-8a1f65a2d374796b9b5559c4aab87c8d1e8f6e68.zip
integration: the ruled renames on the documents and the load-independent tests: pardes-renames (config.Settings, macos.Callbacks, core/ninep/harness.zig, Pane.docked_to and the word Undock) and pardes-merge23; one conflict, in core/CHANGELOG.md, where both sides added Unreleased entries: both kept; no old name left in the tree; tui core-test 848/991 (143 skipped), shell-test 1027/1030, the window builds
Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'test')
-rw-r--r--test/macos_e2e.swift4
-rw-r--r--test/output.zig2
-rw-r--r--test/snapshots/find.golden4
-rw-r--r--test/snapshots/fsearch.golden2
-rw-r--r--test/snapshots/grep.golden2
-rw-r--r--test/snapshots/lookrange.golden2
-rw-r--r--test/snapshots/lsp-client.golden2
-rw-r--r--test/snapshots/lsprelpath.golden4
-rw-r--r--test/snapshots/stepgrain.golden2
9 files changed, 12 insertions, 12 deletions
diff --git a/test/macos_e2e.swift b/test/macos_e2e.swift
index 74a03200..38d27808 100644
--- a/test/macos_e2e.swift
+++ b/test/macos_e2e.swift
@@ -51,7 +51,7 @@ private struct ScriptError: Error {
}
/// What the three C callbacks reach through `userdata`. A class, because a C
-/// function pointer cannot capture: a pointer the runtime struct carries is the
+/// function pointer cannot capture: a pointer the callbacks struct carries is the
/// only way back into Swift state.
private final class Host {
/// Set by `wakeup`, which runs on a pty reader thread. Nothing else in the
@@ -168,7 +168,7 @@ private final class Driver: PardesViewDelegate {
message: "the view measured \(got.cols)x\(got.rows) cells, not the \(cols)x\(rows) the script asked for")
}
- var runtime = pardes_runtime_s(
+ var runtime = pardes_callbacks_s(
userdata: Unmanaged.passUnretained(host).toOpaque(),
wakeup: { ud in
// A pty reader thread. One flag and out — see Host.woke.
diff --git a/test/output.zig b/test/output.zig
index 38e8ba0d..4b9e7678 100644
--- a/test/output.zig
+++ b/test/output.zig
@@ -549,7 +549,7 @@ test "a window's setting builtins (TaglineSize, Font) reach the report DumpConfi
defer font_arena.deinit();
var chosen_font: ?[]const u8 = null;
var buf: [512]u8 = undefined;
- for (config.Runtime.settings) |setting| {
+ for (config.Settings.settings) |setting| {
// The view's own (a terminal's takes no window's words).
if (!setting.enabled(builtins.viewCapabilities(p))) continue;
const command: []const u8 = switch (setting.action) {
diff --git a/test/snapshots/find.golden b/test/snapshots/find.golden
index 6c3bc950..4825d1dc 100644
--- a/test/snapshots/find.golden
+++ b/test/snapshots/find.golden
@@ -30,7 +30,7 @@
|32: /tmp/pardes-snap/find/cwd/sub/ZQMARK-beta.txt Del
|33: 1 beta body
== snap promoted grid=120x41 cursor=7,33
-|22: +Search 2/3 Save Unattach Del
+|22: +Search 2/3 Save Undock Del
|32: /tmp/pardes-snap/find/cwd/sub/ZQMARK-beta.txt Save Term Collapse Follow Del
== snap nomatch grid=120x41 cursor=11,14
|13: ^ +Search 0 Del
@@ -43,7 +43,7 @@
== snap cancel grid=120x41 cursor=7,3
|13:
|14:
-|22: +Search 2/3 Save Unattach Del
+|22: +Search 2/3 Save Undock Del
|23: Find zqm
|24: zqmark-alpha.txt
|25: sub/ZQMARK-beta.txt
diff --git a/test/snapshots/fsearch.golden b/test/snapshots/fsearch.golden
index e923cb58..71a9900a 100644
--- a/test/snapshots/fsearch.golden
+++ b/test/snapshots/fsearch.golden
@@ -71,7 +71,7 @@
|8: 6 MARK b
|9: ^ +Search 2/3 Del
== snap landed grid=180x31 cursor=10,8
-|9: +Search 2/3 Save Unattach Del
+|9: +Search 2/3 Save Undock Del
== snap n grid=180x31 cursor=10,8
|7: 9 l9
|8: 10 MARK c
diff --git a/test/snapshots/grep.golden b/test/snapshots/grep.golden
index 1d8d21ad..52633372 100644
--- a/test/snapshots/grep.golden
+++ b/test/snapshots/grep.golden
@@ -36,7 +36,7 @@
|14: 1 deep
|15: 2 TARGET inside sub
== snap opened-hit grid=180x31 cursor=12,15
-|9: +Search 3/3 Save Unattach Del
+|9: +Search 3/3 Save Undock Del
|13: /tmp/pardes-snap/grep/cwd/sub/b.txt Save Term Collapse Follow Del
== snap nomatch grid=180x31 cursor=11,15
|14: ^ +Search 0 Del
diff --git a/test/snapshots/lookrange.golden b/test/snapshots/lookrange.golden
index 92b619e4..c677fb8f 100644
--- a/test/snapshots/lookrange.golden
+++ b/test/snapshots/lookrange.golden
@@ -69,7 +69,7 @@
|15: 0-0 d,#608269, 1-4 d,#0d1410, 5-6 #59675c,#0d1410, 7-11 #e5eee5,#0d1410, 12-149 #f5f7ee,#3c614a,
|16: 0-0 d,#608269, 1-1 d,#0d1410, 2-4 d,#0d1410,b 5-6 #616f64,#0d1410,b 7-10 #f5f7ee,#3c614a, 11-149 #f5f7ee,#0d1410,
== snap hit1 grid=150x31 cursor=17,15
-|21: +Search 2/2 Save Unattach Del
+|21: +Search 2/2 Save Undock Del
|22: /NEEDLE
|23: r.txt:7:4 gg NEEDLE gg
|24: r.txt:8:6 hhhh NEEDLE
diff --git a/test/snapshots/lsp-client.golden b/test/snapshots/lsp-client.golden
index 44b16309..42c378d1 100644
--- a/test/snapshots/lsp-client.golden
+++ b/test/snapshots/lsp-client.golden
@@ -26,5 +26,5 @@
|19: /tmp/pardes-snap/lsp-client/cwd/+Preview Del
|20: 1
== snap gr-opened grid=100x25 cursor=21,6
-|13: +Search 2/3 Save Unattach Del
+|13: +Search 2/3 Save Undock Del
== snap gr-back grid=100x25 cursor=21,7
diff --git a/test/snapshots/lsprelpath.golden b/test/snapshots/lsprelpath.golden
index 36f411ef..964f0286 100644
--- a/test/snapshots/lsprelpath.golden
+++ b/test/snapshots/lsprelpath.golden
@@ -29,7 +29,7 @@
| 1
== snap abslook grid=100x35 cursor=21,27
|3: 1 const shade = @import("../shade.zig");
-|16: +Search 1/2 Save Unattach Del
+|16: +Search 1/2 Save Undock Del
|26: /tmp/pardes-snap/lsprelpath/cwd/shade.zig Save Term Collapse Follow TreeContext Def Refs Del
|27: 1 pub const Shade = enum {
|28: 2 verdigris,
@@ -103,7 +103,7 @@
| 1
== snap sublook grid=100x35 cursor=20,28
|3: 1 const tint = @import("inner/tint.zig");
-|16: +Search 1/2 Save Unattach Del
+|16: +Search 1/2 Save Undock Del
|26: /tmp/pardes-snap/lsprelpath/cwd/sub/inner/tint.zig Save Term Collapse Follow TreeContext Def Refs
|27: Del
|28: 1 pub const Tint = enum {
diff --git a/test/snapshots/stepgrain.golden b/test/snapshots/stepgrain.golden
index 1b7d3245..9af17689 100644
--- a/test/snapshots/stepgrain.golden
+++ b/test/snapshots/stepgrain.golden
@@ -84,5 +84,5 @@
|18: 0-0 d,#608269, 1-149 d,#0d1410,
|22: 0-1 d,#496656, 2-32 #b2c3b8,#1d2824, 33-46 #d3b0d9,#1d2824, 47-149 #b2c3b8,#1d2824,
== snap blank-opened grid=150x31 cursor=7,23
-|12: +Search 1/1 Save Unattach Del
+|12: +Search 1/1 Save Undock Del
|22: /tmp/pardes-snap/stepgrain/cwd/two words.txt Save Term Collapse Follow Del