summaryrefslogtreecommitdiff
path: root/test/behaviour/panes.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/behaviour/panes.zig')
-rw-r--r--test/behaviour/panes.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/behaviour/panes.zig b/test/behaviour/panes.zig
index 12be354a..b42cab76 100644
--- a/test/behaviour/panes.zig
+++ b/test/behaviour/panes.zig
@@ -238,8 +238,8 @@ test "panes: Collapse keeps the text and folds the pane to its tag, and again re
for ([_][]const u8{
try s.read(s.at("/pane/{d}/tag", .{n})),
try s.read(s.at("/pane/{d}/tag", .{try s.newPane()})),
- try t.read(t.at("/pane/{d}/tag", .{try t.focused()})),
- }) |tag| try std.testing.expect(std.mem.endsWith(u8, tag, " Collapse Del"));
+ }) |tag| try std.testing.expect(std.mem.endsWith(u8, tag, " Collapse Follow Del"));
+ try std.testing.expect(std.mem.endsWith(u8, try t.read(t.at("/pane/{d}/tag", .{try t.focused()})), " Collapse Del"));
try s.write(s.at("/pane/{d}/ctl", .{try s.focused()}), "Del\n");
const ctl = s.at("/pane/{d}/ctl", .{n});
try s.write(ctl, "Collapse\n");