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

Function test_turn_changes_all_path_strings

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

Source from the content-addressed store, hash-verified

1395
1396 #[test]
1397 fn test_turn_changes_all_path_strings() {
1398 let changes = TurnChanges::new()
1399 .with_modified(vec![PathBuf::from("src/main.rs")])
1400 .with_added(vec![PathBuf::from("src/lib.rs")]);
1401
1402 let strings = changes.all_path_strings();
1403 assert_eq!(strings, vec!["src/main.rs", "src/lib.rs"]);
1404 }
1405
1406 #[test]
1407 fn test_turn_changes_file_count_mixed() {

Callers

nothing calls this directly

Calls 3

with_addedMethod · 0.80
with_modifiedMethod · 0.80
all_path_stringsMethod · 0.80

Tested by

no test coverage detected