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

Source from the content-addressed store, hash-verified

1004
1005 #[test]
1006 fn test_turn_changes_all_path_strings() {
1007 let changes = TurnChanges::new()
1008 .with_modified(vec![PathBuf::from("src/main.rs")])
1009 .with_added(vec![PathBuf::from("src/lib.rs")]);
1010
1011 let strings = changes.all_path_strings();
1012 assert_eq!(strings, vec!["src/main.rs", "src/lib.rs"]);
1013 }
1014
1015 #[test]
1016 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