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

Function test_diff_empty

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

Source from the content-addressed store, hash-verified

821
822 #[test]
823 fn test_diff_empty() {
824 let result = diff_text(b"", b"", Algorithm::Myers);
825 assert!(result.is_empty());
826 assert!(result.is_unchanged());
827 }
828
829 #[test]
830 fn test_diff_insert() {

Callers

nothing calls this directly

Calls 1

diff_textFunction · 0.85

Tested by

no test coverage detected