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

Function test_word_diff_operator_change

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

Source from the content-addressed store, hash-verified

1141
1142 #[test]
1143 fn test_word_diff_operator_change() {
1144 let old = b"x == y";
1145 let new = b"x != y";
1146
1147 let result = word_diff(old, new);
1148 assert!(result.has_changes());
1149 }
1150
1151 #[test]
1152 fn test_word_diff_string_literal_change() {

Callers

nothing calls this directly

Calls 1

word_diffFunction · 0.85

Tested by

no test coverage detected