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:122–131  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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}

Callers

nothing calls this directly

Calls 2

check_min_version_headerFunction · 0.85
insertMethod · 0.45

Tested by

no test coverage detected