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

Source from the content-addressed store, hash-verified

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