()
| 806 | |
| 807 | #[test] |
| 808 | fn test_file_not_tracked_suggestion() { |
| 809 | let err = CliError::FileNotTracked { |
| 810 | path: "test.txt".into(), |
| 811 | }; |
| 812 | let suggestion = err.suggestion(); |
| 813 | assert!(suggestion.is_some()); |
| 814 | assert!(suggestion.unwrap().contains("atomic add")); |
| 815 | } |
| 816 | |
| 817 | #[test] |
| 818 | fn test_nothing_to_record_suggestion() { |
nothing calls this directly
no test coverage detected