MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_change_already_applied_error

Function test_change_already_applied_error

atomic-core/src/apply/change.rs:396–403  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

394
395 #[test]
396 fn test_change_already_applied_error() {
397 let hash = test_hash();
398 let err = LocalApplyError::ChangeAlreadyApplied { hash };
399
400 assert!(!err.is_dependency_error());
401 assert!(err.is_already_applied());
402 assert!(err.is_recoverable());
403 }
404
405 #[test]
406 fn test_internal_error() {

Callers

nothing calls this directly

Calls 1

test_hashFunction · 0.70

Tested by

no test coverage detected