()
| 546 | |
| 547 | #[test] |
| 548 | fn test_output_item_with_zombie() { |
| 549 | let hash = Hash::of(b"deleter"); |
| 550 | let item = OutputItem::file(Inode::ROOT, "deleted.txt".to_string(), Position::ROOT) |
| 551 | .with_zombie(vec![hash]); |
| 552 | assert!(item.is_zombie()); |
| 553 | assert_eq!(item.is_zombie.unwrap().len(), 1); |
| 554 | } |
| 555 | |
| 556 | #[test] |
| 557 | fn test_output_item_with_metadata() { |
nothing calls this directly
no test coverage detected