()
| 26 | |
| 27 | #[test] |
| 28 | fn test_errors() -> Result<()> { |
| 29 | // Testing the Debug trait for the error type |
| 30 | let err = HttpCacheError::cache("test".to_string()); |
| 31 | assert!(format!("{:?}", err).contains("Cache")); |
| 32 | assert!(err.to_string().contains("test")); |
| 33 | Ok(()) |
| 34 | } |
| 35 | |
| 36 | // Simple test service that always returns the same response |
| 37 | #[derive(Clone)] |
nothing calls this directly
no outgoing calls
no test coverage detected