()
| 993 | |
| 994 | #[test] |
| 995 | fn test_nothing_to_record_suggestion() { |
| 996 | let err = CliError::NothingToRecord; |
| 997 | let suggestion = err.suggestion(); |
| 998 | assert!(suggestion.is_some()); |
| 999 | assert!(suggestion.unwrap().contains("atomic add")); |
| 1000 | } |
| 1001 | |
| 1002 | #[test] |
| 1003 | fn test_internal_error_suggestion() { |
nothing calls this directly
no test coverage detected