Skip to content

Commit

Permalink
adapt style_css test to support reqwest stripping BOM from response
Browse files Browse the repository at this point in the history
  • Loading branch information
syphar committed Sep 6, 2023
1 parent c3c3059 commit c67f11e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web/statics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ mod tests {
Some(&"text/css".parse().unwrap()),
);
assert_eq!(resp.content_length().unwrap(), STYLE_CSS.len() as u64);
assert_eq!(resp.text()?, STYLE_CSS);
assert_eq!(resp.bytes()?, STYLE_CSS.as_bytes());

Ok(())
});
Expand Down

0 comments on commit c67f11e

Please sign in to comment.