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

Function test_inline_diff_operator_change

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

Source from the content-addressed store, hash-verified

1167
1168 #[test]
1169 fn test_inline_diff_operator_change() {
1170 let old = b"if x == y {";
1171 let new = b"if x != y {";
1172
1173 let diff = compute_inline_diff(old, new);
1174 assert!(diff.has_changes());
1175 }
1176
1177 #[test]
1178 fn test_inline_diff_string_literal_change() {

Callers

nothing calls this directly

Calls 1

compute_inline_diffFunction · 0.85

Tested by

no test coverage detected