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

Source from the content-addressed store, hash-verified

1498
1499 #[test]
1500 fn test_turn_changes_summary_only_added() {
1501 let changes = TurnChanges::new().with_added(vec![PathBuf::from("a"), PathBuf::from("b")]);
1502 assert_eq!(changes.summary(), "2 files changed (2 added)");
1503 }
1504
1505 #[test]
1506 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