diff --git a/src/subcommand/server.rs b/src/subcommand/server.rs
index 75cdba4400..0717938bc4 100644
--- a/src/subcommand/server.rs
+++ b/src/subcommand/server.rs
@@ -1051,9 +1051,7 @@ mod tests {
test_server.assert_response_regex(
"/",
StatusCode::OK,
- ".*
Ordinals.*Ordinals
-
-.*
+ ".*Ordinals.*
Status
- cycle
- 0
diff --git a/src/subcommand/server/templates.rs b/src/subcommand/server/templates.rs
index 862b312186..2506067a6c 100644
--- a/src/subcommand/server/templates.rs
+++ b/src/subcommand/server/templates.rs
@@ -57,7 +57,7 @@ mod tests {
}
}
- pretty_assertions::assert_eq!(
+ assert_regex_match!(
Foo.page().to_string(),
"
@@ -70,7 +70,19 @@ mod tests {
+
+
Foo
+