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

Function test_pull_change_reexported

atomic-cli/src/commands/pull/mod.rs:191–197  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

189 /// Verify that PullChange is properly re-exported.
190 #[test]
191 fn test_pull_change_reexported() {
192 use atomic_core::types::{Hash, Merkle};
193
194 let hash = Hash::of(b"test");
195 let change = PullChange::new(hash, 0, Merkle::ZERO);
196 assert_eq!(change.sequence, 0);
197 }
198
199 /// Verify that PullStats is properly re-exported.
200 #[test]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected