()
| 1494 | |
| 1495 | #[test] |
| 1496 | fn test_status_options_builder() { |
| 1497 | let opts = StatusOptions::default() |
| 1498 | .with_untracked(false) |
| 1499 | .with_ignored(true) |
| 1500 | .filter_path(PathBuf::from("src")); |
| 1501 | |
| 1502 | assert!(!opts.include_untracked); |
| 1503 | assert!(opts.include_ignored); |
| 1504 | assert_eq!(opts.path_filters.len(), 1); |
| 1505 | } |
| 1506 | |
| 1507 | // Helper Function Tests |
| 1508 |
nothing calls this directly
no test coverage detected