Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
tustvold committed Jan 3, 2024
1 parent 2de9d0f commit a4c58dd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion object_store/src/client/get.rs
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,12 @@ mod tests {
"Content-Range header not present in partial response"
);

let resp = make_response(2, Some(2..3), StatusCode::PARTIAL_CONTENT, None);
let resp = make_response(
2,
Some(2..3),
StatusCode::PARTIAL_CONTENT,
Some("bytes 2-3/2"),
);
let err = get_result::<TestClient>(&path, Some(get_range.clone()), resp).unwrap_err();
assert_eq!(
err.to_string(),
Expand Down

0 comments on commit a4c58dd

Please sign in to comment.