Skip to content

Commit

Permalink
Fix fetch tests
Browse files Browse the repository at this point in the history
Not sure what caused the header value changes outside of example.com not sending those values
  • Loading branch information
kyleect committed Jan 16, 2025
1 parent 0a7ef01 commit a7143fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reqlang-fetch/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ mod test {
assert_eq!(HttpStatusCode::new(200), response.status_code);

assert_eq!(
Some("text/html; charset=UTF-8"),
Some("text/html"),
response.headers.get("content-type").map(|x| x.as_str())
);

Expand Down Expand Up @@ -190,7 +190,7 @@ GET http://example.com HTTP/1.1
assert_eq!(HttpStatusCode::new(200), response.status_code);

assert_eq!(
Some("text/html; charset=UTF-8"),
Some("text/html"),
response.headers.get("content-type").map(|x| x.as_str())
);

Expand Down

0 comments on commit a7143fa

Please sign in to comment.