()
| 132 | |
| 133 | #[test] |
| 134 | fn header_already_satisfied_no_warn() { |
| 135 | // When required <= current, no warning (the function just returns) |
| 136 | let mut headers = HeaderMap::new(); |
| 137 | headers.insert( |
| 138 | reqwest::header::HeaderName::from_static("x-atomic-min-version"), |
| 139 | reqwest::header::HeaderValue::from_static("0.0.1"), |
| 140 | ); |
| 141 | // crate::VERSION is the actual crate version, which will be >= 0.0.1 |
| 142 | check_min_version_header(&headers); |
| 143 | } |
| 144 | } |
nothing calls this directly
no test coverage detected