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

Function test_record_item_debug

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

Source from the content-addressed store, hash-verified

1040
1041 #[test]
1042 fn test_record_item_debug() {
1043 let item = RecordItem::new(PathBuf::from("test.rs"), Inode::new(42), Position::ROOT);
1044 let debug = format!("{:?}", item);
1045 assert!(debug.contains("test.rs"));
1046 assert!(debug.contains("42"));
1047 }
1048}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected