()
| 1218 | |
| 1219 | #[test] |
| 1220 | fn test_status_options_builder() { |
| 1221 | let opts = StatusOptions::default() |
| 1222 | .with_untracked(false) |
| 1223 | .with_ignored(true) |
| 1224 | .filter_path(PathBuf::from("src")); |
| 1225 | |
| 1226 | assert!(!opts.include_untracked); |
| 1227 | assert!(opts.include_ignored); |
| 1228 | assert_eq!(opts.path_filters.len(), 1); |
| 1229 | } |
| 1230 | |
| 1231 | // Helper Function Tests |
| 1232 |
nothing calls this directly
no test coverage detected