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

Function test_summary_untracked_only

atomic-agent/src/record/tests.rs:522–531  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

520
521#[test]
522fn test_summary_untracked_only() {
523 let status = empty_status();
524 let untracked = vec![
525 "src/main.rs".to_string(),
526 "Cargo.toml".to_string(),
527 "README.md".to_string(),
528 ];
529 let summary = build_file_change_summary(&status, &untracked);
530 assert_eq!(summary, "Add main.rs, Cargo.toml, README.md");
531}
532
533#[test]
534fn test_summary_empty() {

Callers

nothing calls this directly

Calls 2

empty_statusFunction · 0.85

Tested by

no test coverage detected