MCPcopy Create free account
hub / github.com/PerroEngine/Perro / table_detail

Function table_detail

perro_website/src/docs.rs:463–466  ·  view source on GitHub ↗
(line: &'a str, prefix: &str)

Source from the content-addressed store, hash-verified

461
462 #[test]
463 fn heading_ids_probe_past_text_suffix_collisions() {
464 let html = crate::highlight::markdown_html("# Foo\n\n# Foo\n\n# Foo-1\n");
465
466 assert!(html.contains("id=\"foo\""));
467 assert!(html.contains("id=\"foo-1\""));
468 assert!(html.contains("id=\"foo-1-1\""));
469 }

Callers 1

Calls

no outgoing calls

Tested by 1