diff options
author | gennyble <gen@nyble.dev> | 2023-12-27 17:21:08 -0600 |
---|---|---|
committer | gennyble <gen@nyble.dev> | 2023-12-27 17:21:08 -0600 |
commit | e12cc58bd80b8fdf3837928694c20ab9001a5cf2 (patch) | |
tree | 85ebc0ca61482aa3eb2b4dd6174dbd87a5da6a9e /tests/nyble_pages.rs | |
parent | 4b4689ca0d086e11de52cbbf848fa0873acd7274 (diff) | |
download | cutie-e12cc58bd80b8fdf3837928694c20ab9001a5cf2.tar.gz cutie-e12cc58bd80b8fdf3837928694c20ab9001a5cf2.zip |
fix warnings in tests
Diffstat (limited to 'tests/nyble_pages.rs')
-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] |