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

Function test_identical

atomic-core/src/diff/patience.rs:414–421  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

412
413 #[test]
414 fn test_identical() {
415 let old = lines(&["a\n", "b\n", "c\n"]);
416 let new = lines(&["a\n", "b\n", "c\n"]);
417
418 let result = diff(&old, &new);
419
420 assert!(result.is_unchanged());
421 }
422
423 #[test]
424 fn test_single_insert() {

Callers

nothing calls this directly

Calls 2

linesFunction · 0.70
diffFunction · 0.70

Tested by

no test coverage detected