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

Function test_pristine_file_state_debug

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

Source from the content-addressed store, hash-verified

1288
1289 #[test]
1290 fn test_pristine_file_state_debug() {
1291 let state = PristineFileState::new(
1292 Inode::new(1),
1293 Position::new(NodeId::new(1), ChangePosition::new(0)),
1294 "test.txt",
1295 );
1296 let debug = format!("{:?}", state);
1297
1298 assert!(debug.contains("PristineFileState"));
1299 assert!(debug.contains("test.txt"));
1300 }
1301
1302 #[test]
1303 fn test_pristine_file_state_builder_chain() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected