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

Function test_local_byte_new

atomic-core/src/change/local.rs:361–367  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

359
360 #[test]
361 fn test_local_byte_new() {
362 let local = LocalByte::new("data.bin", 0, 1024);
363 assert_eq!(local.path, "data.bin");
364 assert_eq!(local.line, 0);
365 assert_eq!(local.byte, 1024);
366 assert!(local.inode.is_none());
367 }
368
369 #[test]
370 fn test_local_byte_with_inode() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected