()
| 866 | |
| 867 | #[test] |
| 868 | fn test_internal_error_suggestion() { |
| 869 | let err = CliError::Internal(anyhow::anyhow!("bug")); |
| 870 | let suggestion = err.suggestion(); |
| 871 | assert!(suggestion.is_some()); |
| 872 | assert!(suggestion.unwrap().contains("bug")); |
| 873 | } |
| 874 | |
| 875 | #[test] |
| 876 | fn test_cancelled_no_suggestion() { |
nothing calls this directly
no test coverage detected