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

Function test_memory_debug

atomic-core/src/output/memory.rs:726–732  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

724
725 #[test]
726 fn test_memory_debug() {
727 let wc = Memory::new();
728 wc.add_file("test.txt", b"content");
729 let debug = format!("{:?}", wc);
730 assert!(debug.contains("Memory"));
731 assert!(debug.contains("test.txt"));
732 }
733
734 #[test]
735 fn test_memory_allocate_inode() {

Callers

nothing calls this directly

Calls 1

add_fileMethod · 0.45

Tested by

no test coverage detected