()
| 283 | |
| 284 | #[test] |
| 285 | fn test_split_builder_chain() { |
| 286 | let cmd = Split::new("hotfix") |
| 287 | .with_source("release-1.0") |
| 288 | .with_switch(true); |
| 289 | |
| 290 | assert_eq!(cmd.name, "hotfix"); |
| 291 | assert_eq!(cmd.source, Some("release-1.0".to_string())); |
| 292 | assert!(cmd.switch); |
| 293 | } |
| 294 | |
| 295 | // Validation Tests |
| 296 |
nothing calls this directly
no test coverage detected