From 2f4bb55292a93c11052a1216035b0d38e973bead Mon Sep 17 00:00:00 2001 From: Nicolas Van Eenaeme Date: Wed, 2 Oct 2024 00:27:34 +0200 Subject: [PATCH] :white_check_mark: added testcase for corrupted pdf (parses correctly thanks to filename hint) --- test/fixtures/test.pdf | Bin 0 -> 3914 bytes test/pdf.js | 15 +++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 test/fixtures/test.pdf create mode 100644 test/pdf.js diff --git a/test/fixtures/test.pdf b/test/fixtures/test.pdf new file mode 100644 index 0000000000000000000000000000000000000000..982f6eab1e714df5645db1e21f96f978b8ee8c45 GIT binary patch literal 3914 zcmcInYiu0V6*k~DiD6tIKR}|W7YEl4*gJP-c6N5C6S7`E5)wb~Zb%>mJiB|np0GRP z%-n5k(i+q!Ptl@a5)mojNRc1{0YZcn6(>BzD-j?f2*{!qk4l9Een6$Fv{BEw`|x^q zNgJWgtak3>oO91T=X~d$+p#6*+_JKHu&bwC38+%@$Dh3QuGF9rO5DU2siT8P@;cjL zmS^9}Qbd970MX%pHQ7Xr5G9Ikkj+R$G?Rv*(M`0Fj*Wgn9VeQh0o%%zL}E?~g_7_2 zjC*WE(qLsG(ZZvIh-eW#zl(h;dU~RE|O961m6DaOS}`V{z8S zl7e>~bJBd2VEBLn7|TBQn3a_pR^OQz9-d>v!~Z;7SHJtBi=RBJv9-PK<=Md_hvr^A z^r(99K>Nl6f8F=`^sdHL7u;TVPThf-Mb97-3IYn45R!5Cx>mvoZmhx}xErx4k2$<# zjv?l|IWGwY!tJ0Zqprh&!Y3HCVx*6yY^&292ZP~INKuJlssg%E&mF5hGvsnG0+5%( zx6EWB3ux_CpA_}INygB9Wao!sf zt07ZwOhJ5?W}|M#^E2Oe$unYxa)y!B7PE$7dA1O zMXj;b%ubJTV3cH}!?|`90z<+ONc%(!ViTlv=8e>@1H#)iY7mvGVX!c?Fw&5u-^xOy z#qBKf``NZ3H)}aCvj(ErPDY$`M%Yr0ahAOf7cA2pO;kg3;Ev@IT%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