()
| 715 | |
| 716 | #[test] |
| 717 | fn already_applied_is_idempotency_guard() { |
| 718 | assert!(LocalApplyError::change_already_applied(hash_a()).is_already_applied()); |
| 719 | assert!(LocalApplyError::tag_already_applied(hash_a()).is_already_applied()); |
| 720 | |
| 721 | // Dependency errors are a different category — don't conflate them. |
| 722 | assert!(!LocalApplyError::dependency_missing(hash_a()).is_already_applied()); |
| 723 | } |
| 724 | |
| 725 | // -- ApplyError wrapping: verify the high-level type correctly delegates. |
| 726 |
nothing calls this directly
no outgoing calls
no test coverage detected