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

Function test_item_debug

atomic-core/src/output/repo/tree.rs:1220–1226  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1218
1219 #[test]
1220 fn test_item_debug() {
1221 let item = TreeItem::file("test.rs", Inode::ROOT, Position::ROOT);
1222 let debug = format!("{:?}", item);
1223
1224 assert!(debug.contains("TreeItem"));
1225 assert!(debug.contains("test.rs"));
1226 }
1227
1228 // ========================================================================
1229 // TreeCollectResult Tests

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected