()
| 233 | |
| 234 | #[test] |
| 235 | fn test_html_to_markdown() { |
| 236 | let html = "<h1>Title</h1><p>Content here</p>"; |
| 237 | let md = html_to_markdown(html); |
| 238 | assert!(md.contains("Title")); |
| 239 | assert!(md.contains("Content here")); |
| 240 | // htmd produces proper markdown headers |
| 241 | assert!(md.contains("# Title")); |
| 242 | } |
| 243 | } |
nothing calls this directly
no test coverage detected