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

Function test_config_new

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

Source from the content-addressed store, hash-verified

444
445 #[test]
446 fn test_config_new() {
447 let config = WatcherConfig::new("/repo");
448 assert_eq!(config.repo_root(), Path::new("/repo"));
449 // Should have default ignore pattern
450 assert!(config.ignore_patterns().contains(&".atomic".to_string()));
451 }
452
453 #[test]
454 fn test_config_new_from_pathbuf() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected