fix(remote): expect bounded range in blob fallback test

This commit is contained in:
Gatefixer
2026-09-29 14:41:51 +00:00
parent 549a41e648
commit 28c65514c2
+2 -2
View File
@@ -5329,7 +5329,7 @@ mod tests {
.header(VERSION_HEADER, "42")
.body(b"0".to_vec())
.unwrap(),
"bytes=0-" => http::Response::builder()
"bytes=0-9" => http::Response::builder()
.status(206)
.header(reqwest::header::CONTENT_RANGE, "bytes 0-9/10")
.body(b"0123456789".to_vec())
@@ -5351,7 +5351,7 @@ mod tests {
assert_eq!(blobs.value(4), b"bbb");
let requests = requests.lock().unwrap();
assert!(requests.contains(&"GET bytes=0-0".to_string()));
assert!(requests.contains(&"GET bytes=0-".to_string()));
assert!(requests.contains(&"GET bytes=0-9".to_string()));
}
#[tokio::test]