(line: &str)
| 454 | doc.slug, heading.id |
| 455 | )); |
| 456 | } |
| 457 | } |
| 458 | } |
| 459 | assert!(failures.is_empty(), "{}", failures.join("\n")); |
| 460 | } |
| 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"); |
no outgoing calls