MCPcopy Create free account
hub / github.com/chatmail/core / test_dehtml_parse_href

Function test_dehtml_parse_href

src/dehtml.rs:485–490  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

483
484 #[test]
485 fn test_dehtml_parse_href() {
486 let html = "<a href=url>text</a>";
487 let plain = dehtml(html).unwrap().text;
488
489 assert_eq!(plain, "[text](url)");
490 }
491
492 #[test]
493 fn test_dehtml_case_sensitive_link() {

Callers

nothing calls this directly

Calls 1

dehtmlFunction · 0.85

Tested by

no test coverage detected