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

Function test_format_repo_only

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected