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

Function test_diff_identical

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

Source from the content-addressed store, hash-verified

753
754 #[test]
755 fn test_diff_identical() {
756 let text = b"line1\nline2\nline3\n";
757 let result = diff_text(text, text, Algorithm::Myers);
758 assert!(result.is_unchanged());
759 }
760
761 #[test]
762 fn test_diff_empty() {

Callers

nothing calls this directly

Calls 1

diff_textFunction · 0.85

Tested by

no test coverage detected