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

Source from the content-addressed store, hash-verified

1012
1013 #[test]
1014 fn test_turn_changes_all_path_strings() {
1015 let changes = TurnChanges::new()
1016 .with_modified(vec![PathBuf::from("src/main.rs")])
1017 .with_added(vec![PathBuf::from("src/lib.rs")]);
1018
1019 let strings = changes.all_path_strings();
1020 assert_eq!(strings, vec!["src/main.rs", "src/lib.rs"]);
1021 }
1022
1023 #[test]
1024 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