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

Function test_local_from_local_byte

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

Source from the content-addressed store, hash-verified

418
419 #[test]
420 fn test_local_from_local_byte() {
421 let local_byte = LocalByte::new("test.rs", 42, 1000);
422 let local: Local = local_byte.into();
423
424 assert_eq!(local.path, "test.rs");
425 assert_eq!(local.line, 42);
426 }
427
428 #[test]
429 fn test_local_byte_json_roundtrip() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected