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

Function test_word_diff_whitespace_only

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

Source from the content-addressed store, hash-verified

1220
1221 #[test]
1222 fn test_word_diff_whitespace_only() {
1223 let result = word_diff(b" ", b"\t\t");
1224 // Both are whitespace, but different whitespace
1225 assert!(result.has_changes());
1226 }
1227
1228 #[test]
1229 fn test_word_diff_newline_handling() {

Callers

nothing calls this directly

Calls 1

word_diffFunction · 0.85

Tested by

no test coverage detected