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

Function test_format_repo_only

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

Source from the content-addressed store, hash-verified

664
665 #[test]
666 fn test_format_repo_only() {
667 let learnings = Learnings {
668 repo: vec!["Auth uses RS256".into()],
669 code: vec![],
670 workflow: vec![],
671 };
672 let md = format_learnings_markdown(&learnings);
673 assert!(md.contains("### Repo"));
674 assert!(md.contains("- Auth uses RS256"));
675 assert!(!md.contains("### Code"));
676 assert!(!md.contains("### Workflow"));
677 }
678
679 #[test]
680 fn test_format_code_excluded() {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected