()
| 604 | |
| 605 | #[test] |
| 606 | fn test_new_with_switch() { |
| 607 | let cmd = New::with_name("feature-auth").with_switch(true); |
| 608 | assert_eq!(cmd.name, Some("feature-auth".to_string())); |
| 609 | assert!(cmd.switch); |
| 610 | assert!(!cmd.empty); |
| 611 | } |
| 612 | |
| 613 | #[test] |
| 614 | fn test_new_with_empty() { |
nothing calls this directly
no test coverage detected