summaryrefslogtreecommitdiff
path: root/test/pdf.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/pdf.zig')
-rw-r--r--test/pdf.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pdf.zig b/test/pdf.zig
index 3bb751e2..fca0c240 100644
--- a/test/pdf.zig
+++ b/test/pdf.zig
@@ -2418,7 +2418,7 @@ test "a PDF's fit and tint, and Collapse, read in its ctl and come back from a D
const ctlfs = pardes.ctlfs;
const ctl_node = ctlfs.Node.of(doc.serial, .ctl);
const read = p.fsPayload(p.serveFs(.{ .tag = 1, .op = .read, .node = ctl_node, .size = 4096 }));
- try std.testing.expect(std.mem.endsWith(u8, read, "fit:height tint:full "));
+ try std.testing.expect(std.mem.indexOf(u8, read, "fit:height tint:full ") != null);
try pardes.dump.dumpState(p);
const restored = try pardes.dump.restore(p, p.dump_out.?, "/tmp/pardes.dump.zon");
defer restored.deinit();