MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / header_already_satisfied_no_warn

Function header_already_satisfied_no_warn

atomic-remote/src/version.rs:134–143  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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}

Callers

nothing calls this directly

Calls 2

check_min_version_headerFunction · 0.85
insertMethod · 0.45

Tested by

no test coverage detected