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

Function test_config_clone

atomic-agent/src/watcher/mod.rs:367–373  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

365
366 #[test]
367 fn test_config_clone() {
368 let config = WatcherConfig::new("/repo").with_ignore_pattern("extra");
369 let cloned = config.clone();
370
371 assert_eq!(cloned.repo_root(), config.repo_root());
372 assert_eq!(cloned.ignore_patterns(), config.ignore_patterns());
373 }
374
375 #[test]
376 fn test_config_debug() {

Callers

nothing calls this directly

Calls 2

with_ignore_patternMethod · 0.80
cloneMethod · 0.45

Tested by

no test coverage detected