summaryrefslogtreecommitdiff
path: root/src/Effect.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/Effect.zig')
-rw-r--r--src/Effect.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Effect.zig b/src/Effect.zig
index 31187751..f5ee7ff9 100644
--- a/src/Effect.zig
+++ b/src/Effect.zig
@@ -615,7 +615,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 pardes.Kind.open(p, img_id, pardes.Kind.image, "/tmp/pardes-tag.ppm", "");
+ const img = try pardes.Kind.open(p, img_id, pardes.Kind.test_kind.of(p), "/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);