()
| 983 | |
| 984 | #[test] |
| 985 | fn test_file_not_tracked_suggestion() { |
| 986 | let err = CliError::FileNotTracked { |
| 987 | path: "test.txt".into(), |
| 988 | }; |
| 989 | let suggestion = err.suggestion(); |
| 990 | assert!(suggestion.is_some()); |
| 991 | assert!(suggestion.unwrap().contains("atomic add")); |
| 992 | } |
| 993 | |
| 994 | #[test] |
| 995 | fn test_nothing_to_record_suggestion() { |
nothing calls this directly
no test coverage detected