MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_build_new_section

Function test_build_new_section

atomic-agent/src/learnings.rs:901–909  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

build_new_sectionFunction · 0.85

Tested by

no test coverage detected