Commit 644f5ab
committed
fix: update test_split_pdf_no_ranges_error to match new default behavior
The test was expecting split_pdf() to raise an error when called without
page_ranges, but the implementation now defaults to extracting the first
page to match the docstring behavior and test_split_pdf_single_page_default.
Updated the test to verify it returns a single-page PDF instead of raising
an error, resolving the conflict between test expectations.1 parent 9d0f899 commit 644f5ab
1 file changed
+9
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
304 | 309 | | |
305 | 310 | | |
306 | 311 | | |
| |||
0 commit comments