()
| 1206 | |
| 1207 | #[test] |
| 1208 | fn test_status_options_builder() { |
| 1209 | let opts = StatusOptions::default() |
| 1210 | .with_untracked(false) |
| 1211 | .with_ignored(true) |
| 1212 | .filter_path(PathBuf::from("src")); |
| 1213 | |
| 1214 | assert!(!opts.include_untracked); |
| 1215 | assert!(opts.include_ignored); |
| 1216 | assert_eq!(opts.path_filters.len(), 1); |
| 1217 | } |
| 1218 | |
| 1219 | // Helper Function Tests |
| 1220 |
nothing calls this directly
no test coverage detected