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

Function test_word_diff_number_change

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

Source from the content-addressed store, hash-verified

1159
1160 #[test]
1161 fn test_word_diff_number_change() {
1162 let old = b"timeout = 5000";
1163 let new = b"timeout = 10000";
1164
1165 let result = word_diff(old, new);
1166 assert!(result.has_changes());
1167 }
1168
1169 #[test]
1170 fn test_word_diff_variable_rename() {

Callers

nothing calls this directly

Calls 1

word_diffFunction · 0.85

Tested by

no test coverage detected