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