()
| 848 | |
| 849 | #[test] |
| 850 | fn test_internal_error_suggestion() { |
| 851 | let err = CliError::Internal(anyhow::anyhow!("bug")); |
| 852 | let suggestion = err.suggestion(); |
| 853 | assert!(suggestion.is_some()); |
| 854 | assert!(suggestion.unwrap().contains("bug")); |
| 855 | } |
| 856 | |
| 857 | #[test] |
| 858 | fn test_cancelled_no_suggestion() { |
nothing calls this directly
no test coverage detected