()
| 628 | |
| 629 | #[test] |
| 630 | fn test_apply_error_detection() { |
| 631 | let err = RepositoryError::Apply("conflict".to_string()); |
| 632 | assert!(err.is_apply_error()); |
| 633 | |
| 634 | let err = RepositoryError::ChangeNotFound { |
| 635 | hash: "ABC123".to_string(), |
| 636 | }; |
| 637 | assert!(err.is_apply_error()); |
| 638 | |
| 639 | let err = RepositoryError::ChangeAlreadyApplied { |
| 640 | hash: "ABC123".to_string(), |
| 641 | }; |
| 642 | assert!(err.is_apply_error()); |
| 643 | } |
| 644 | |
| 645 | #[test] |
| 646 | fn test_archive_error_display() { |
nothing calls this directly
no outgoing calls
no test coverage detected