()
| 830 | |
| 831 | #[test] |
| 832 | fn test_file_not_tracked_suggestion() { |
| 833 | let err = CliError::FileNotTracked { |
| 834 | path: "test.txt".into(), |
| 835 | }; |
| 836 | let suggestion = err.suggestion(); |
| 837 | assert!(suggestion.is_some()); |
| 838 | assert!(suggestion.unwrap().contains("atomic add")); |
| 839 | } |
| 840 | |
| 841 | #[test] |
| 842 | fn test_nothing_to_record_suggestion() { |
nothing calls this directly
no test coverage detected