From a1b094399e699e34d66779b0d2b7e2b05e2542fe Mon Sep 17 00:00:00 2001 From: aiongg Date: Mon, 26 Oct 2026 19:55:30 +0000 Subject: [PATCH] test(sign): read the split pdf modules in wordings_are_complete --- crates/sign/tests/it/pdf.rs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/crates/sign/tests/it/pdf.rs b/crates/sign/tests/it/pdf.rs index 7234e782e..2ebb27d2a 100644 --- a/crates/sign/tests/it/pdf.rs +++ b/crates/sign/tests/it/pdf.rs @@ -2556,7 +2556,17 @@ fn appearance_label_outside_helvetica_is_refused_beside_an_embedded_font_name() /// the files. An interface then has these to translate and only these. #[test] fn wordings_are_complete() { - let source = include_str!("../../src/pdf.rs"); + // `pdf.rs` and the modules it was split into, read as one text. + let source = [ + include_str!("../../src/pdf.rs"), + include_str!("../../src/pdf/changes.rs"), + include_str!("../../src/pdf/listing.rs"), + include_str!("../../src/pdf/signing.rs"), + include_str!("../../src/pdf/types.rs"), + include_str!("../../src/pdf/validate.rs"), + ] + .concat(); + let source = source.as_str(); // The modules below `pdf` word whole sentences too: how a signature value had to be read, and // what a certificate does not allow. let elsewhere = [