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

Function test_build_new_section

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

Source from the content-addressed store, hash-verified

901
902 #[test]
903 fn test_build_new_section() {
904 let md = "### Repo\n- Learning\n\n";
905 let section = build_new_section(md);
906 assert!(section.contains(SECTION_HEADING));
907 assert!(section.contains(SECTION_NOTE));
908 assert!(section.contains(SECTION_START));
909 assert!(section.contains("- Learning"));
910 assert!(section.contains(SECTION_END));
911 }
912
913 // merge_into_existing_section
914

Callers

nothing calls this directly

Calls 1

build_new_sectionFunction · 0.85

Tested by

no test coverage detected