Simplifying pem checking

This commit is contained in:
Dave Hrycyszyn
2024-06-06 15:35:17 +01:00
parent 8d3290fa60
commit dc3d0ad83a

View File

@@ -94,9 +94,6 @@ mod tests {
// check that the pem is readable // check that the pem is readable
let pem = fs::read_to_string(file_path).unwrap(); let pem = fs::read_to_string(file_path).unwrap();
assert!(pem.contains("PUBLIC"));
assert!(pem.contains("PRIVATE"));
assert!(pem::parse_many(&pem).is_ok()); assert!(pem::parse_many(&pem).is_ok());
} }