Simplifying pem checking
This commit is contained in:
@@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user