]> git.r.bdr.sh - rbdr/page/blobdiff - src/html_renderer.rs
Remove fail threshold as it's not consistent
[rbdr/page] / src / html_renderer.rs
index 77241317ac4ab18dbb4e21b77b90e2e151a42d25..6b9ce38471dbc41718f62c2799e917ced482c18a 100644 (file)
@@ -206,7 +206,7 @@ mod tests {
     fn test_links() {
         let input = vec![
             GeminiLine::Link("https://example.com".to_string(), "Example".to_string()),
-            GeminiLine::Link("https://rust-lang.org".to_string(), "".to_string()),
+            GeminiLine::Link("https://rust-lang.org".to_string(), String::new()),
         ];
         assert_eq!(
             render_html(&input),