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

Function test_summary_untracked_only

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

empty_statusFunction · 0.85

Tested by

no test coverage detected