()
| 452 | |
| 453 | #[test] |
| 454 | fn test_config_new_from_pathbuf() { |
| 455 | let path = PathBuf::from("/some/repo"); |
| 456 | let config = WatcherConfig::new(path.clone()); |
| 457 | assert_eq!(config.repo_root(), path.as_path()); |
| 458 | } |
| 459 | |
| 460 | #[test] |
| 461 | fn test_config_default_ignore_patterns() { |