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

Function test_add_files_touched

atomic-agent/src/turn/session.rs:1627–1632  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1625
1626 #[test]
1627 fn test_add_files_touched() {
1628 let mut s = make_session();
1629 s.add_files_touched(&["a.rs".to_string(), "b.rs".to_string()]);
1630 assert_eq!(s.files_touched, vec!["a.rs", "b.rs"]);
1631 assert_eq!(s.files_touched_count(), 2);
1632 }
1633
1634 #[test]
1635 fn test_add_files_touched_dedup() {

Callers

nothing calls this directly

Calls 2

add_files_touchedMethod · 0.80
make_sessionFunction · 0.70

Tested by

no test coverage detected