diff options
Diffstat (limited to 'src/Effect.zig')
| -rw-r--r-- | src/Effect.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Effect.zig b/src/Effect.zig index 51b7c645..ba8e5d60 100644 --- a/src/Effect.zig +++ b/src/Effect.zig @@ -603,7 +603,7 @@ test "Save reaches every tagline with text behind it and no other" { // An image's bytes on disk already are what they are: nothing of the // pane's own is unwritten, so the word is absent and inert. const img_id = p.freeSlot().?; - const img = try panes.Image.create(p, img_id, "/tmp/pardes-tag.ppm", &.{}); + const img = try pardes.Kind.open(p, img_id, &panes.Image.kind, "/tmp/pardes-tag.ppm", ""); try std.testing.expectEqualStrings(" Term Collapse Del", tagline.curTail(img)); try std.testing.expect(p.executeBuiltinLine(img_id, "Save")); try std.testing.expect(img.prompt != .save); |
