about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorgennyble <gen@nyble.dev>2023-12-27 17:21:08 -0600
committergennyble <gen@nyble.dev>2023-12-27 17:21:08 -0600
commite12cc58bd80b8fdf3837928694c20ab9001a5cf2 (patch)
tree85ebc0ca61482aa3eb2b4dd6174dbd87a5da6a9e /tests
parent4b4689ca0d086e11de52cbbf848fa0873acd7274 (diff)
downloadcutie-e12cc58bd80b8fdf3837928694c20ab9001a5cf2.tar.gz
cutie-e12cc58bd80b8fdf3837928694c20ab9001a5cf2.zip
fix warnings in tests
Diffstat (limited to 'tests')
-rw-r--r--tests/nyble_pages.rs4
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]