summaryrefslogtreecommitdiff
path: root/src/ninep/ctl.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/ninep/ctl.zig')
-rw-r--r--src/ninep/ctl.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ninep/ctl.zig b/src/ninep/ctl.zig
index 7c566f23..a1504acb 100644
--- a/src/ninep/ctl.zig
+++ b/src/ninep/ctl.zig
@@ -2173,7 +2173,7 @@ test "a truncated PDF fails its look with its path and why" {
defer p.deinit();
var tmp = testing.tmpDir(.{});
defer tmp.cleanup();
- const bytes = try @import("mupdf").makeLinksTestPdf(testing.allocator);
+ const bytes = try @import("mupdf").testFixture(testing.allocator, "links.pdf");
defer testing.allocator.free(bytes);
try tmp.dir.writeFile(testing.io, .{ .sub_path = "cut.pdf", .data = bytes[0..40] });
var dir_buf: [4096]u8 = undefined;
@@ -2190,7 +2190,7 @@ test "a PDF's body reads its page's text layer, and takes no write" {
defer p.deinit();
var tmp = testing.tmpDir(.{});
defer tmp.cleanup();
- const bytes = try @import("mupdf").makeLinksTestPdf(testing.allocator);
+ const bytes = try @import("mupdf").testFixture(testing.allocator, "links.pdf");
defer testing.allocator.free(bytes);
try tmp.dir.writeFile(testing.io, .{ .sub_path = "doc.pdf", .data = bytes });
var dir_buf: [4096]u8 = undefined;