diff --git a/term/src/test/mod.rs b/term/src/test/mod.rs index 3aa3a4c25..7cb50f617 100644 --- a/term/src/test/mod.rs +++ b/term/src/test/mod.rs @@ -675,7 +675,7 @@ fn test_hyperlinks() { term.hyperlink_off(); let mut linked = CellAttributes::default(); - linked.hyperlink = Some(Arc::clone(&link)); + linked.set_hyperlink(Some(Arc::clone(&link))); assert_lines_equal( file!(),