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

Function test_inode_update_debug

atomic-core/src/record/item.rs:766–772  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

764
765 #[test]
766 fn test_inode_update_debug() {
767 let update = InodeUpdate::add(ChangePosition::new(100), Inode::new(42));
768 let debug = format!("{:?}", update);
769 assert!(debug.contains("Add"));
770 assert!(debug.contains("100"));
771 assert!(debug.contains("42"));
772 }
773
774 // FileMetadata Tests
775

Callers

nothing calls this directly

Calls 1

addFunction · 0.50

Tested by

no test coverage detected