()
| 395 | |
| 396 | #[test] |
| 397 | fn test_find_by_nid() { |
| 398 | let entry = find_by_nid(13).unwrap(); |
| 399 | assert_eq!(entry.short_name, "CN"); |
| 400 | assert_eq!(entry.long_name, "commonName"); |
| 401 | assert_eq!(entry.oid_string(), "2.5.4.3"); |
| 402 | } |
| 403 | |
| 404 | #[test] |
| 405 | fn test_find_by_oid_string() { |
nothing calls this directly
no test coverage detected