()
| 824 | |
| 825 | #[test] |
| 826 | fn test_internal_error_suggestion() { |
| 827 | let err = CliError::Internal(anyhow::anyhow!("bug")); |
| 828 | let suggestion = err.suggestion(); |
| 829 | assert!(suggestion.is_some()); |
| 830 | assert!(suggestion.unwrap().contains("bug")); |
| 831 | } |
| 832 | |
| 833 | #[test] |
| 834 | fn test_cancelled_no_suggestion() { |
nothing calls this directly
no test coverage detected