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

Function test_word_diff_variable_rename

atomic-core/src/diff/word.rs:1170–1176  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1168
1169 #[test]
1170 fn test_word_diff_variable_rename() {
1171 let old = b"let foo = 1;";
1172 let new = b"let bar = 1;";
1173
1174 let result = word_diff(old, new);
1175 assert!(result.has_changes());
1176 }
1177
1178 #[test]
1179 fn test_word_diff_type_annotation_added() {

Callers

nothing calls this directly

Calls 1

word_diffFunction · 0.85

Tested by

no test coverage detected