diff options
Diffstat (limited to 'test/pdf_sections_bench.zig')
| -rw-r--r-- | test/pdf_sections_bench.zig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/pdf_sections_bench.zig b/test/pdf_sections_bench.zig index 2796910c..b793bd0c 100644 --- a/test/pdf_sections_bench.zig +++ b/test/pdf_sections_bench.zig @@ -65,8 +65,7 @@ pub fn main(init: std.process.Init) !void { const args = try init.minimal.args.toSlice(init.arena.allocator()); const config = parseArgs(args); - const fixture = try pdf.makeOutlineTestPdf(gpa); - defer gpa.free(fixture); + const fixture = @embedFile("pdf-fixtures/outline.pdf"); var path_buf: [256]u8 = undefined; const path = try std.fmt.bufPrint(&path_buf, "/tmp/pardes-pdf-sections-bench-{d}.pdf", .{libc.getpid()}); try writeFile(path, fixture); |
