summaryrefslogtreecommitdiff
path: root/test/panes.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/panes.zig')
-rw-r--r--test/panes.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/panes.zig b/test/panes.zig
index 2082c3ad..d47136a5 100644
--- a/test/panes.zig
+++ b/test/panes.zig
@@ -2259,7 +2259,8 @@ const ImageTests = struct {
// art words after the kind's `img`, then its path.
const id = p.freeSlot().?;
const pane = try pardes.Kind.open(p, id, load(p), "/tmp/picture.ppm", "P6\n1 1\n255\n\x01\x02\x03");
- while (p.nextEffect()) |e| p.perform(e);
+ // Its tick after the open (its decode a draw: no job's event steps it).
+ pardes.Kind.step(p, true);
pardes.layout.placeNew(p, 0, 0, id, .doc);
_ = try p.render(p.scratch.allocator());
pane.addon.?.art = .{ .glyph = true, .palette = .terminal, .ascii = false };