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

Function test_record_item_nested_path

atomic-core/src/record/context.rs:1168–1178  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1166
1167 #[test]
1168 fn test_record_item_nested_path() {
1169 let item = RecordItem::new(
1170 "deeply/nested/path/file.rs",
1171 Inode::new(100),
1172 Inode::new(99),
1173 crate::output::FileMetadata::file(),
1174 );
1175
1176 assert_eq!(item.basename, "file.rs");
1177 assert_eq!(item.full_path, "deeply/nested/path/file.rs");
1178 }
1179
1180 #[test]
1181 fn test_record_item_clone() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected