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

Function test_find_unique_matches_none

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

Source from the content-addressed store, hash-verified

485
486 #[test]
487 fn test_find_unique_matches_none() {
488 let old = lines(&["a\n", "a\n"]);
489 let new = lines(&["a\n", "a\n"]);
490
491 let matches = find_unique_matches(&old, &new);
492
493 // No unique lines
494 assert!(matches.is_empty());
495 }
496
497 #[test]
498 fn test_find_unique_matches_no_common() {

Callers

nothing calls this directly

Calls 2

find_unique_matchesFunction · 0.85
linesFunction · 0.70

Tested by

no test coverage detected