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

Function test_local_equality

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

Source from the content-addressed store, hash-verified

331
332 #[test]
333 fn test_local_equality() {
334 let l1 = Local::new("test.rs", 10);
335 let l2 = Local::new("test.rs", 10);
336 let l3 = Local::new("test.rs", 20);
337
338 assert_eq!(l1, l2);
339 assert_ne!(l1, l3);
340 }
341
342 #[test]
343 fn test_local_json_roundtrip() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected