()
| 908 | |
| 909 | #[test] |
| 910 | fn test_internal_error_suggestion() { |
| 911 | let err = CliError::Internal(anyhow::anyhow!("bug")); |
| 912 | let suggestion = err.suggestion(); |
| 913 | assert!(suggestion.is_some()); |
| 914 | assert!(suggestion.unwrap().contains("bug")); |
| 915 | } |
| 916 | |
| 917 | #[test] |
| 918 | fn test_cancelled_no_suggestion() { |
nothing calls this directly
no test coverage detected