()
| 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() { |
nothing calls this directly
no outgoing calls
no test coverage detected