pdftract/tests/debug_missing_mediabox.rs
jedarden 225f96c241 fix(pyo3): correct extract_text_fn call in extract_markdown stub
The extract_markdown stub was calling extract_text instead of
extract_text_fn, causing a compilation error. This fixes the
function name to match the exported function from extract_text.rs.

This completes the extract_text PyO3 entry point implementation,
which was already present in extract_text.rs and lib.rs.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-28 20:28:25 -04:00

7 lines
233 B
Rust

use pdftract_core::document::parse_pdf_file;
#[test]
fn debug_missing_mediabox() {
let result = parse_pdf_file(std::path::Path::new("tests/document_model/fixtures/missing_mediabox.pdf"));
println!("Result: {:?}", result);
}