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

Function test_local_byte_to_local

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

Source from the content-addressed store, hash-verified

377
378 #[test]
379 fn test_local_byte_to_local() {
380 let local_byte = LocalByte::new("test.rs", 10, 500);
381 let local = local_byte.to_local();
382
383 assert_eq!(local.path, "test.rs");
384 assert_eq!(local.line, 10);
385 }
386
387 #[test]
388 fn test_local_byte_path_buf() {

Callers

nothing calls this directly

Calls 1

to_localMethod · 0.80

Tested by

no test coverage detected