()
| 246 | |
| 247 | #[test] |
| 248 | fn unknown_name_is_a_miss() { |
| 249 | let dir = scratch_dir("unknown"); |
| 250 | let mut cache = PublicKeyCache::open_at(dir.as_path()); |
| 251 | cache.put(SERVER, "lee", KEY, "active"); |
| 252 | assert!(cache.get(SERVER, "other").is_none()); |
| 253 | } |
| 254 | |
| 255 | #[test] |
| 256 | fn expired_entries_are_not_served() { |
nothing calls this directly
no test coverage detected