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

Function test_identical

atomic-core/src/diff/myers.rs:231–238  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

229
230 #[test]
231 fn test_identical() {
232 let old = lines(&["a\n", "b\n", "c\n"]);
233 let new = lines(&["a\n", "b\n", "c\n"]);
234
235 let result = diff(&old, &new);
236
237 assert!(result.is_unchanged());
238 }
239
240 #[test]
241 fn test_single_insert() {

Callers

nothing calls this directly

Calls 2

linesFunction · 0.70
diffFunction · 0.70

Tested by

no test coverage detected