()
| 892 | |
| 893 | #[test] |
| 894 | fn test_internal_error_suggestion() { |
| 895 | let err = CliError::Internal(anyhow::anyhow!("bug")); |
| 896 | let suggestion = err.suggestion(); |
| 897 | assert!(suggestion.is_some()); |
| 898 | assert!(suggestion.unwrap().contains("bug")); |
| 899 | } |
| 900 | |
| 901 | #[test] |
| 902 | fn test_cancelled_no_suggestion() { |
nothing calls this directly
no test coverage detected