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

Function test_remove_nonexistent

atomic-core/src/change/store.rs:635–641  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

633
634 #[test]
635 fn test_remove_nonexistent() {
636 let store = MemoryChangeStore::new();
637 let hash = Hash::of(b"nonexistent");
638
639 let removed = store.remove(&hash);
640 assert!(removed.is_none());
641 }
642
643 #[test]
644 fn test_clear() {

Callers

nothing calls this directly

Calls 1

removeMethod · 0.65

Tested by

no test coverage detected