()
| 638 | |
| 639 | #[test] |
| 640 | fn test_suggestion_not_a_repository() { |
| 641 | let err = AgentError::NotARepository { |
| 642 | path: PathBuf::from("/tmp"), |
| 643 | }; |
| 644 | let suggestion = err.suggestion().unwrap(); |
| 645 | assert!(suggestion.contains("atomic init")); |
| 646 | } |
| 647 | |
| 648 | #[test] |
| 649 | fn test_suggestion_none_for_generic_errors() { |
nothing calls this directly
no test coverage detected