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

Function test_turn_changes_summary_only_added

atomic-agent/src/event.rs:1109–1112  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1107
1108 #[test]
1109 fn test_turn_changes_summary_only_added() {
1110 let changes = TurnChanges::new().with_added(vec![PathBuf::from("a"), PathBuf::from("b")]);
1111 assert_eq!(changes.summary(), "2 files changed (2 added)");
1112 }
1113
1114 #[test]
1115 fn test_turn_changes_display_delegates_to_summary() {

Callers

nothing calls this directly

Calls 1

with_addedMethod · 0.80

Tested by

no test coverage detected