Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ test_item_clone
Function
test_item_clone
atomic-core/src/output/repo/tree.rs:1212–1217 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1210
1211
#[test]
1212
fn test_item_clone() {
1213
let item = TreeItem::file(
"test.rs"
, Inode::ROOT, Position::ROOT);
1214
let cloned = item.clone();
1215
1216
assert_eq!(item, cloned);
1217
}
1218
1219
#[test]
1220
fn test_item_debug() {
Callers
nothing calls this directly
Calls
1
clone
Method · 0.45
Tested by
no test coverage detected