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

Function test_unrecord_outcome_empty

atomic-repository/src/unrecord.rs:775–781  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

773
774 #[test]
775 fn test_unrecord_outcome_empty() {
776 let state = Merkle::of(b"state");
777 let outcome = UnrecordOutcome::new(vec![], state, 0);
778
779 assert_eq!(outcome.count(), 0);
780 assert!(!outcome.has_changes());
781 }
782
783 #[test]
784 fn test_unrecord_outcome_dry_run() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected