Commit 69d2749
committed
fix(pdf-cos): fix Rust test failures
- .gitignore: unblock assets/*.pdf so fixture PDFs are committed
(tests need example.pdf, encrypted.pdf, Incremental.pdf, unicode.pdf,
AnnotationDemo.pdf at compile time and integration test runtime)
- parser: accept bare \n in xref_eol (in addition to ' \r', ' \n',
'\r\n') so that lenient/non-standard xref tables are parsed correctly;
fixes big_generation_value test1 parent 0064df6 commit 69d2749
7 files changed
Lines changed: 4 additions & 1 deletion
File tree
- crates/pdf-cos
- assets
- src/parser
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
| |||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
459 | 459 | | |
460 | 460 | | |
461 | 461 | | |
462 | | - | |
| 462 | + | |
463 | 463 | | |
464 | 464 | | |
465 | 465 | | |
| |||
0 commit comments