()
| 848 | |
| 849 | #[test] |
| 850 | fn test_file_not_tracked_suggestion() { |
| 851 | let err = CliError::FileNotTracked { |
| 852 | path: "test.txt".into(), |
| 853 | }; |
| 854 | let suggestion = err.suggestion(); |
| 855 | assert!(suggestion.is_some()); |
| 856 | assert!(suggestion.unwrap().contains("atomic add")); |
| 857 | } |
| 858 | |
| 859 | #[test] |
| 860 | fn test_nothing_to_record_suggestion() { |
nothing calls this directly
no test coverage detected