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

Function test_local_parent

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

Source from the content-addressed store, hash-verified

294
295 #[test]
296 fn test_local_parent() {
297 let local = Local::new("src/lib/module.rs", 1);
298 assert_eq!(local.parent(), Some("src/lib"));
299 }
300
301 #[test]
302 fn test_local_is_file_start() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected