summaryrefslogtreecommitdiff
path: root/test/mime-unique-id.c
diff options
context:
space:
mode:
authorUli Schlachter <psychon@znc.in>2021-03-08 16:30:33 +0100
committerUli Schlachter <psychon@znc.in>2021-03-08 16:30:33 +0100
commit433d9eb10937b2025c3dd2b63988bb01d470cc95 (patch)
tree2ba1a72f6c347f4bdc1f553df3823ef95f43a882 /test/mime-unique-id.c
parent0fd2197e2b3e7deb1e5e1014e907dbeddac6f481 (diff)
downloadcairo-433d9eb10937b2025c3dd2b63988bb01d470cc95.tar.gz
Update the PDF size limit in mime-unique-id
The test mime-unique-id checks that some images are only embedded once in a PDF. It does so by checking if the file size is within some expected bounds. However, the test fails for me because the file is too small. Yes, too *small*. Fix this by updating the test to expect my current file size. Signed-off-by: Uli Schlachter <psychon@znc.in>
Diffstat (limited to 'test/mime-unique-id.c')
-rwxr-xr-xtest/mime-unique-id.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mime-unique-id.c b/test/mime-unique-id.c
index 81ab3f965..aab93164d 100755
--- a/test/mime-unique-id.c
+++ b/test/mime-unique-id.c
@@ -82,7 +82,7 @@
*/
#define PS2_EXPECTED_SIZE 417510
#define PS3_EXPECTED_SIZE 381554
-#define PDF_EXPECTED_SIZE 347182
+#define PDF_EXPECTED_SIZE 162923
#define SIZE_TOLERANCE 5000
static const char *png_filename = "romedalen.png";