()
| 874 | |
| 875 | #[test] |
| 876 | fn test_file_not_tracked_suggestion() { |
| 877 | let err = CliError::FileNotTracked { |
| 878 | path: "test.txt".into(), |
| 879 | }; |
| 880 | let suggestion = err.suggestion(); |
| 881 | assert!(suggestion.is_some()); |
| 882 | assert!(suggestion.unwrap().contains("atomic add")); |
| 883 | } |
| 884 | |
| 885 | #[test] |
| 886 | fn test_nothing_to_record_suggestion() { |
nothing calls this directly
no test coverage detected