diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/nyble_pages.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/nyble_pages.rs b/tests/nyble_pages.rs index 2c99bc2..2a8fc75 100644 --- a/tests/nyble_pages.rs +++ b/tests/nyble_pages.rs @@ -3,7 +3,7 @@ use cutie::Html; #[test] fn pares_homepage() { let str = std::fs::read_to_string("tests/nyble.html").unwrap(); - let html = Html::parse(&str); + let _html = Html::parse(str); } fn test_roundtrip(raw: &str) { @@ -25,7 +25,7 @@ fn homepage_roundtrip() { #[test] fn parses_grass() { let str = std::fs::read_to_string("tests/touching_grass.html").unwrap(); - let html = Html::parse(&str); + let _html = Html::parse(str); } #[test] |