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

Function test_tracked_file_debug

atomic-core/src/record/workflow/collect.rs:648–655  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

646
647 #[test]
648 fn test_tracked_file_debug() {
649 let pos = Position::new(NodeId::new(1), ChangePosition::new(0));
650 let file = TrackedFile::new("test.txt", Inode::new(1), pos);
651 let debug = format!("{:?}", file);
652
653 assert!(debug.contains("TrackedFile"));
654 assert!(debug.contains("test.txt"));
655 }
656
657 // WorkingFile Tests
658

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected