diff options
Diffstat (limited to 'test/behaviour/keys.zig')
| -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"); |
