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:
1 parent
c14c374d5d
commit
263fa36fb5
6 files changed
+9
-6
No files matched your search
@@ -1370,6 +1370,7 @@ mod type1_pdf_tests {
|
||||
assert!(pdf.contains("/Outlines"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn metadata_writes_the_pdf_info_dictionary() {
|
||||
let pages = vec![DisplayList {
|
||||
width: 612 * 65536,
|
||||
@@ -1463,6 +1464,7 @@ mod type1_pdf_tests {
|
||||
assert!(pdf.contains("/Last"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn type1_backend_embeds_computer_modern_outlines() {
|
||||
let pdf = write(&[hello_list()]);
|
||||
let text = String::from_utf8_lossy(&pdf);
|
||||
|
||||
Reference in new issue
Block a user