X-Git-Url: https://git.r.bdr.sh/rbdr/page/blobdiff_plain/3a7229d55bb1091a2bdd5d7fcd87f1c82d0a734a..137b2e55c21459261d4fa0f909ccfc60f98117e5:/src/html_renderer.rs diff --git a/src/html_renderer.rs b/src/html_renderer.rs index 7724131..6b9ce38 100644 --- a/src/html_renderer.rs +++ b/src/html_renderer.rs @@ -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),