()
| 120 | |
| 121 | #[test] |
| 122 | fn header_already_satisfied_no_warn() { |
| 123 | // When required <= current, no warning (the function just returns) |
| 124 | let mut headers = HeaderMap::new(); |
| 125 | headers.insert( |
| 126 | reqwest::header::HeaderName::from_static("x-atomic-min-version"), |
| 127 | reqwest::header::HeaderValue::from_static("0.0.1"), |
| 128 | ); |
| 129 | // crate::VERSION is the actual crate version, which will be >= 0.0.1 |
| 130 | check_min_version_header(&headers); |
| 131 | } |
| 132 | } |
nothing calls this directly
no test coverage detected