()
| 578 | |
| 579 | #[test] |
| 580 | fn test_user_fixable_detection() { |
| 581 | let err = RepositoryError::UncommittedChanges; |
| 582 | assert!(err.is_user_fixable()); |
| 583 | |
| 584 | let err = RepositoryError::MergeConflict { |
| 585 | description: "conflict in file.txt".to_string(), |
| 586 | }; |
| 587 | assert!(err.is_user_fixable()); |
| 588 | |
| 589 | let err = RepositoryError::Locked; |
| 590 | assert!(!err.is_user_fixable()); |
| 591 | } |
| 592 | |
| 593 | #[test] |
| 594 | fn test_error_display() { |
nothing calls this directly
no outgoing calls
no test coverage detected