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

Function test_diff_empty

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

Source from the content-addressed store, hash-verified

760
761 #[test]
762 fn test_diff_empty() {
763 let result = diff_text(b"", b"", Algorithm::Myers);
764 assert!(result.is_empty());
765 assert!(result.is_unchanged());
766 }
767
768 #[test]
769 fn test_diff_insert() {

Callers

nothing calls this directly

Calls 1

diff_textFunction · 0.85

Tested by

no test coverage detected