diff --git a/tests/ref/html/smartquotes-html.html b/tests/ref/html/smartquotes-html.html
deleted file mode 100644
index 7a9d083c6..000000000
--- a/tests/ref/html/smartquotes-html.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
- When you said that “he surely meant that ‘she intended to say “I’m sorry”’”, I was quite confused.
- ‘box’
-
-
diff --git a/tests/ref/html/title-and-heading.html b/tests/ref/html/title-and-heading.html
deleted file mode 100644
index c09062ec3..000000000
--- a/tests/ref/html/title-and-heading.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
- A cool title
- Some level one heading
-
-
diff --git a/tests/ref/html/title-basic.html b/tests/ref/html/title-basic.html
deleted file mode 100644
index c9995358e..000000000
--- a/tests/ref/html/title-basic.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
- Some Title
-
-
diff --git a/tests/src/collect.rs b/tests/src/collect.rs
index af03c72d4..e1274adb0 100644
--- a/tests/src/collect.rs
+++ b/tests/src/collect.rs
@@ -173,7 +173,7 @@ impl Collector {
for entry in walkdir::WalkDir::new(crate::REF_PATH).sort_by_file_name() {
let entry = entry.unwrap();
let path = entry.path();
- if path.extension().is_none_or(|ext| ext != "png") {
+ if path.extension().is_none_or(|ext| ext != "png" && ext != "html") {
continue;
}