()
| 970 | |
| 971 | #[test] |
| 972 | fn test_file_not_tracked_suggestion() { |
| 973 | let err = CliError::FileNotTracked { |
| 974 | path: "test.txt".into(), |
| 975 | }; |
| 976 | let suggestion = err.suggestion(); |
| 977 | assert!(suggestion.is_some()); |
| 978 | assert!(suggestion.unwrap().contains("atomic add")); |
| 979 | } |
| 980 | |
| 981 | #[test] |
| 982 | fn test_nothing_to_record_suggestion() { |
nothing calls this directly
no test coverage detected