aboutsummaryrefslogtreecommitdiff
path: root/src/html_renderer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/html_renderer.rs')
-rw-r--r--src/html_renderer.rs2
1 files changed, 1 insertions, 1 deletions
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),