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

Function missing_change_display_includes_hash

atomic-core/src/output/error.rs:535–544  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

533
534 #[test]
535 fn missing_change_display_includes_hash() {
536 let hash = Hash::of(b"important change");
537 let err = OutputError::MissingChange { hash };
538 let msg = err.to_string();
539 // The hash in the message lets users fetch the missing change.
540 assert!(
541 msg.len() > 20,
542 "should include the hash representation: {msg}"
543 );
544 }
545}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected