()
| 1236 | |
| 1237 | #[test] |
| 1238 | fn test_status_options_builder() { |
| 1239 | let opts = StatusOptions::default() |
| 1240 | .with_untracked(false) |
| 1241 | .with_ignored(true) |
| 1242 | .filter_path(PathBuf::from("src")); |
| 1243 | |
| 1244 | assert!(!opts.include_untracked); |
| 1245 | assert!(opts.include_ignored); |
| 1246 | assert_eq!(opts.path_filters.len(), 1); |
| 1247 | } |
| 1248 | |
| 1249 | // Helper Function Tests |
| 1250 |
nothing calls this directly
no test coverage detected