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

Function test_semantic_diff_display

atomic-core/src/diff/semantic/tests.rs:407–416  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

405
406 #[test]
407 fn test_semantic_diff_display() {
408 let old = b"old\n";
409 let new = b"new\n";
410
411 let diff = semantic_diff(old, new);
412 let display = format!("{}", diff);
413
414 // Should produce some output
415 assert!(!display.is_empty());
416 }
417
418 // Helper function tests
419

Callers

nothing calls this directly

Calls 1

semantic_diffFunction · 0.85

Tested by

no test coverage detected