Activate dormant tests and clear route-D warnings

Three test functions in texrra-tex-core (PDF metadata, Type1 outline embedding
and \noalign row glue) were missing their #[test] attribute and only produced
dead-code warnings. With the attributes added they pass and raise the core suite
from 439 to 442 tests. The unused `mut` on the PDF entry point geometry is gone
too, leaving no route-D/PDF/lib compiler warnings in `cargo check
--workspace --all-targets`.
This commit is contained in:
gloamxun committed 2026-10-27 04:09:26 +08:00
1 parent c14c374d5d
commit 263fa36fb5
6 files changed
+9 -6

No files matched your search

+1 -1
View File
@@ -61,7 +61,7 @@ pub fn project_preview_json_with_images(
source: &str,
images: &HashMap<String, RasterImage>,
) -> Result<String, String> {
let (body, mut geometry) = geometry_and_body_with_images(source, images);
let (body, geometry) = geometry_and_body_with_images(source, images);
let body = resolve_page_references(body, &geometry);
let paragraphs = paragraphs_with_geometry(
&body,