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

Function test_inline_diff_all_deleted

atomic-core/src/diff/inline.rs:1014–1019  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1012
1013 #[test]
1014 fn test_inline_diff_all_deleted() {
1015 let diff = compute_inline_diff(b"hello world", b"");
1016 assert!(diff.has_changes());
1017 assert!(diff.deleted_bytes() > 0);
1018 assert_eq!(diff.inserted_bytes(), 0);
1019 }
1020
1021 #[test]
1022 fn test_inline_diff_all_inserted() {

Callers

nothing calls this directly

Calls 1

compute_inline_diffFunction · 0.85

Tested by

no test coverage detected