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

Function test_unrecord_outcome_display

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

Source from the content-addressed store, hash-verified

799
800 #[test]
801 fn test_unrecord_outcome_display() {
802 let hash = Hash::of(b"test");
803 let state = Merkle::of(b"state");
804 let outcome = UnrecordOutcome::new(vec![hash], state, 10);
805
806 let display = format!("{}", outcome);
807 assert!(display.contains("1 change"));
808 }
809
810 #[test]
811 fn test_unrecord_outcome_display_dry_run() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected