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

Function test_local_from_path

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

Source from the content-addressed store, hash-verified

273
274 #[test]
275 fn test_local_from_path() {
276 let path = Path::new("src/lib.rs");
277 let local = Local::from_path(path, 100);
278 assert_eq!(local.path, "src/lib.rs");
279 assert_eq!(local.line, 100);
280 }
281
282 #[test]
283 fn test_local_path_buf() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected