()
| 899 | |
| 900 | #[test] |
| 901 | fn test_build_new_section() { |
| 902 | let md = "### Repo\n- Learning\n\n"; |
| 903 | let section = build_new_section(md); |
| 904 | assert!(section.contains(SECTION_HEADING)); |
| 905 | assert!(section.contains(SECTION_NOTE)); |
| 906 | assert!(section.contains(SECTION_START)); |
| 907 | assert!(section.contains("- Learning")); |
| 908 | assert!(section.contains(SECTION_END)); |
| 909 | } |
| 910 | |
| 911 | // merge_into_existing_section |
| 912 |
nothing calls this directly
no test coverage detected