summaryrefslogtreecommitdiff
path: root/test/behaviour
diff options
context:
space:
mode:
Diffstat (limited to 'test/behaviour')
-rw-r--r--test/behaviour/addons_pdf.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/behaviour/addons_pdf.zig b/test/behaviour/addons_pdf.zig
index af194a5b..cf5c8009 100644
--- a/test/behaviour/addons_pdf.zig
+++ b/test/behaviour/addons_pdf.zig
@@ -273,8 +273,9 @@ test "addons: a PDF whose file changes on disk while a page of it renders: the p
try std.testing.expect((try shown(&s, n)).len >= 1);
// A page drawn again (another tint), its render done on a worker but
// not yet answered as the file changes and the pane opens it again.
- s.hold_jobs = true;
+ s.holdJobs();
try s.write(s.at("/pane/{d}/ctl", .{n}), "PdfTint full\n");
+ _ = try shown(&s, n);
s.runJobs();
try tmp.dir.writeFile(std.testing.io, .{ .sub_path = "doc.pdf", .data = outline });
try std.testing.expect(try s.filesChanged());