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