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

Function test_diff_identical

atomic-core/src/diff/mod.rs:816–820  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

814
815 #[test]
816 fn test_diff_identical() {
817 let text = b"line1\nline2\nline3\n";
818 let result = diff_text(text, text, Algorithm::Myers);
819 assert!(result.is_unchanged());
820 }
821
822 #[test]
823 fn test_diff_empty() {

Callers

nothing calls this directly

Calls 1

diff_textFunction · 0.85

Tested by

no test coverage detected