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

Function test_config_clone

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

Source from the content-addressed store, hash-verified

491
492 #[test]
493 fn test_config_clone() {
494 let config = WatcherConfig::new("/repo").with_ignore_pattern("extra");
495 let cloned = config.clone();
496
497 assert_eq!(cloned.repo_root(), config.repo_root());
498 assert_eq!(cloned.ignore_patterns(), config.ignore_patterns());
499 }
500
501 #[test]
502 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