X-Git-Url: https://git.r.bdr.sh/rbdr/page/blobdiff_plain/8766e4412b95cfa0288683748cc20aba81a64d08..4d946aebe3f70ad18e235d68474b6d489757c927:/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),