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:1117–1120  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1115
1116 #[test]
1117 fn test_turn_changes_summary_only_added() {
1118 let changes = TurnChanges::new().with_added(vec![PathBuf::from("a"), PathBuf::from("b")]);
1119 assert_eq!(changes.summary(), "2 files changed (2 added)");
1120 }
1121
1122 #[test]
1123 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