Enhanced encryption test imports with additional diagnostic types:
- Added DiagInfo import for structured diagnostic parsing
- Added DIAGNOSTIC_CATALOG import for diagnostic validation
Files modified:
- crates/pdftract-cli/tests/test_encryption_errors.rs
- crates/pdftract-cli/tests/test_encryption_unsupported.rs
Both test files now have complete imports:
use pdftract_cli::password;
use pdftract_core::diagnostics::{DiagCode, DiagInfo, Severity, DIAGNOSTIC_CATALOG};
Acceptance criteria:
✅ CLI module imports added (use statements)
✅ Imports compile successfully
✅ Imports match actual crate structure
Closes bf-5cnj8
Verification: notes/bf-5cnj8.md
1 line
41 B
Text
1 line
41 B
Text
aeebd060f798e948d36ae1e9647a454b68fdfbd2
|