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

Function test_add_files_touched_dedup

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

Source from the content-addressed store, hash-verified

814
815 #[test]
816 fn test_add_files_touched_dedup() {
817 let mut s = make_session();
818 s.add_files_touched(&["a.rs".to_string(), "b.rs".to_string()]);
819 s.add_files_touched(&["b.rs".to_string(), "c.rs".to_string()]);
820 assert_eq!(s.files_touched, vec!["a.rs", "b.rs", "c.rs"]);
821 assert_eq!(s.files_touched_count(), 3);
822 }
823
824 #[test]
825 fn test_add_files_touched_empty() {

Callers

nothing calls this directly

Calls 2

add_files_touchedMethod · 0.80
make_sessionFunction · 0.70

Tested by

no test coverage detected