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>
7 lines
233 B
Rust
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);
|
|
}
|