Skip to content

Exercise both compressed and un-compressed PDF.write#34

Merged
liZe merged 1 commit intoCourtBouillon:mainfrom
jlaine:improve-test-coverage
Feb 9, 2026
Merged

Exercise both compressed and un-compressed PDF.write#34
liZe merged 1 commit intoCourtBouillon:mainfrom
jlaine:improve-test-coverage

Conversation

@jlaine
Copy link
Contributor

@jlaine jlaine commented Feb 4, 2026

Depending on whether PDF.write is called with compress set to True or False, two almost distinct code paths are taken. Ensure we exercise both code paths.

@jlaine
Copy link
Contributor Author

jlaine commented Feb 4, 2026

I'm happy to submit more unit tests, but I'd rather not swamp you with requests, so please let me know if this is something you want.

Depending on whether `PDF.write` is called with `compress` set to `True`
or `False`, two almost distinct code paths are taken. Ensure we exercise
both code paths.
@jlaine jlaine force-pushed the improve-test-coverage branch from 243f17b to b8f239d Compare February 8, 2026 08:07
@liZe
Copy link
Member

liZe commented Feb 9, 2026

Hi @jlaine!

Depending on whether PDF.write is called with compress set to True or False, two almost distinct code paths are taken. Ensure we exercise both code paths.

Good idea, thanks a lot.

I'm happy to submit more unit tests, but I'd rather not swamp you with requests, so please let me know if this is something you want.

No problem! ❤️

@liZe liZe merged commit b9b6b08 into CourtBouillon:main Feb 9, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants