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

Function test_local_new

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

Source from the content-addressed store, hash-verified

266
267 #[test]
268 fn test_local_new() {
269 let local = Local::new("src/main.rs", 42);
270 assert_eq!(local.path, "src/main.rs");
271 assert_eq!(local.line, 42);
272 }
273
274 #[test]
275 fn test_local_from_path() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected