summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-29 10:56:31 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:16 -0300
commit6b46d0797003585a99f8e5b99b3e8cff635ebebc (patch)
treed34bfab0fc5e1d03316a0d67d6f09a6f9c3d2e17
parent95551301ba9807bc907c6d9ff2aa28ded189deb3 (diff)
downloadpardes-6b46d0797003585a99f8e5b99b3e8cff635ebebc.tar.gz
pardes-6b46d0797003585a99f8e5b99b3e8cff635ebebc.zip
The error name the ThemeSel rename bent back: MissingThemeSection
The rename turned `MissingThemeSelection` into `MissingThemesection`; the theme section is what the test misses. Co-Authored-By: Claude Opus 5.5 <[email protected]>
-rw-r--r--test/output.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/output.zig b/test/output.zig
index 4332fd13..e5f87fb7 100644
--- a/test/output.zig
+++ b/test/output.zig
@@ -997,12 +997,12 @@ test "Themes lists the ring in sections and skips headings in both directions" {
for (pardes.themes[0 .. brk + 1]) |theme| {
p.update(.{ .key = .{ .cp = 'n' } });
try std.testing.expectEqual(tid, p.active);
- const selected = selectedOutputText(list) orelse return error.MissingThemesection;
+ const selected = selectedOutputText(list) orelse return error.MissingThemeSection;
try std.testing.expectEqualStrings(theme.name, selected["Theme ".len..]);
try std.testing.expectEqual(original_theme, p.settings.theme);
}
p.update(.{ .key = .{ .cp = 'N' } });
- const previous = selectedOutputText(list) orelse return error.MissingThemesection;
+ const previous = selectedOutputText(list) orelse return error.MissingThemeSection;
try std.testing.expectEqualStrings(pardes.themes[brk - 1].name, previous["Theme ".len..]);
p.update(.{ .key = .{ .cp = Key.tab } });
try std.testing.expectEqual(brk - 1, p.settings.theme);