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

Function test_inline_diff_all_inserted

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

Source from the content-addressed store, hash-verified

1020
1021 #[test]
1022 fn test_inline_diff_all_inserted() {
1023 let diff = compute_inline_diff(b"", b"hello world");
1024 assert!(diff.has_changes());
1025 assert_eq!(diff.deleted_bytes(), 0);
1026 assert!(diff.inserted_bytes() > 0);
1027 }
1028
1029 #[test]
1030 fn test_inline_diff_single_word_change() {

Callers

nothing calls this directly

Calls 1

compute_inline_diffFunction · 0.85

Tested by

no test coverage detected