diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-26 04:52:05 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-26 05:54:59 -0300 |
| commit | 14723377a8d16b3e49fee9323d11a4a7d085febc (patch) | |
| tree | 52fd3410c1c72f9830418644caa6bf956414453e /test/behaviour | |
| parent | a4629d033cb11489371fe4dd987e9da48bd46690 (diff) | |
| download | pardes-14723377a8d16b3e49fee9323d11a4a7d085febc.tar.gz pardes-14723377a8d16b3e49fee9323d11a4a7d085febc.zip | |
test/snapshots, colors, behaviour: the goldens the themes lines move, re-recorded and read class by class, and the end gate's two finds (the themes programme's L3-L7 and the coordinator's ruling, at their end gate): GOLDENS (37 of 147, orchard unless said), each moved cell read by .scratch/themes/L3457/tools/goldsum.py against the base: (1) L3, the focused tag's name tint: orchard's own `tag_active_name_fg` #dfbce5 is gone (B8: derived), Chrome's name[1] #ecc8f2 (its #d3b0d9 at the focused ink's lightness) on the focused tag #314738 (268 cells in 22 goldens), the reading tag #2c2c0f (101 in 9), the page (images' +Name, 148) and #608269 (2); (2) L3, the grid's resting grip: orchard's `box_dim` #496656 to the chrome's resting ring #465a43 (139 cells in 28); (3) L3, a column's grip at rest: `column_box_dim` #887455 to the chrome's `grip.column_rest` #504733 (122 cells in 33; collapse, mini and ninep carry these three in their tagline rows); (4) the coordinator's ruling: a live `/`, `n` or a landing's current place drawn as the chip, #0d1410 on #917a53, where it was the selection #f5f7ee on #3c614a (46 cells in fsearch, lookrange, lsprelpath, stepgrain), and the blank cells after it on the same rows, which carried the selection's ink, the page's (269 cells, none with a glyph: read row by row); (5) L5: theme.golden and themesel.golden re-recorded whole, their cases walking the new ring (24 snaps each, dark to solarized_dark), and tagnav's Themes list (`# Pardes`, dark first); no text moved anywhere else, and no other class; THE END GATE'S FINDS: behaviour/keys.zig's Themes walk asked "# Pardes themes", acme in the first section and orchard on the first row (L5's order: "# Pardes", orchard, dark); draw.zig's "every theme draws a file's name ... never the tag's plain ink" failed in ferra on L4's focused status bar: Chrome's focused name #fecdb2 is ferra's own focused ink, which the old surfaces draw unheld (Chrome holds it to #ffece1, so under L2a's drawing they differ): the old names' view takes the plain tag's tint there (`viewOf`), until those surfaces read the chrome; GATES (tui, this tree): core-test 1136/1309 (173 skipped; the importer's 7 cached by zig, unchanged since the run that counted them: 1143/1316), shell-test 1357/1360 (3 skipped), pane-test 184/185 (1 skipped), behaviour-test 280/280 and --replay 20 seeds of 70 steps, 0 failures, process-test 0 of 147 failed (3 skipped; 37 re-recorded above, ttyhelp unmoved), term-test 17/17, kitty-test 45/45; gui unit-test 1961/1965 (4 skipped; its one failure the known BaselineHarnessMismatch; test/consumer's pins pass: orchard's page, ink and syntax, orchard `default_theme`); the ring 245 of 245 themes pass every floor; OUTSIDE my files: test/snapshots (37), test/behaviour/keys.zig (3 lines)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
Diffstat (limited to 'test/behaviour')
| -rw-r--r-- | test/behaviour/keys.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/behaviour/keys.zig b/test/behaviour/keys.zig index 6256a0b7..c5dccb1e 100644 --- a/test/behaviour/keys.zig +++ b/test/behaviour/keys.zig @@ -236,7 +236,7 @@ test "keys: SPC j n and SPC j p walk Themes' rows, whole, never its section head // A heading, then a row a theme; each section after the first a blank // line and its heading. var lines = std.mem.splitScalar(u8, body, '\n'); - try std.testing.expectEqualStrings("# Pardes themes", lines.next().?); + try std.testing.expectEqualStrings("# Pardes", lines.next().?); var names: std.ArrayList([]const u8) = .empty; var first_break: ?usize = null; while (lines.next()) |line| { @@ -250,7 +250,7 @@ test "keys: SPC j n and SPC j p walk Themes' rows, whole, never its section head try names.append(s.arena.allocator(), line); } const brk = first_break orelse return error.NoSections; - try std.testing.expect(std.mem.indexOf(u8, body[0..std.mem.indexOf(u8, body, "\n\n").?], "\nTheme acme\n") != null); + try std.testing.expect(std.mem.indexOf(u8, body[0..std.mem.indexOf(u8, body, "\n\n").?], "\nTheme orchard\n") != null); // Across the first section's end and back, the theme as it was. for (names.items[0 .. brk + 1]) |row| { try s.keys(" jn"); @@ -352,7 +352,7 @@ test "keys: SPC j n from the pane a Look gave the keyboard walks back into the c const themes = try s.focused(); try std.testing.expect(themes != a); const sel = s.at("/pane/{d}/sel", .{themes}); - try s.expect(sel, "Theme orchard"); + try s.expect(sel, "Theme dark"); try s.write(s.at("/pane/{d}/exec", .{a}), "Look b.txt\n"); try std.testing.expect(try s.focused() != themes); try s.keys(" jn"); |
