()
| 206 | |
| 207 | #[test] |
| 208 | fn test_read_or_recover_normal() { |
| 209 | let lock = std::sync::RwLock::new(42); |
| 210 | let guard = read_or_recover(&lock); |
| 211 | assert_eq!(*guard, 42); |
| 212 | } |
| 213 | |
| 214 | #[test] |
| 215 | fn test_write_or_recover_normal() { |
nothing calls this directly
no test coverage detected