()
| 526 | |
| 527 | #[test] |
| 528 | fn test_new_with_switch() { |
| 529 | let cmd = New::with_name("feature-auth").with_switch(true); |
| 530 | assert_eq!(cmd.name, Some("feature-auth".to_string())); |
| 531 | assert!(cmd.switch); |
| 532 | assert!(!cmd.empty); |
| 533 | } |
| 534 | |
| 535 | #[test] |
| 536 | fn test_new_with_empty() { |
nothing calls this directly
no test coverage detected