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

Function test_semantic_diff_empty

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

Source from the content-addressed store, hash-verified

252
253 #[test]
254 fn test_semantic_diff_empty() {
255 let diff = semantic_diff(b"", b"");
256 assert!(diff.is_unchanged());
257 assert!(diff.is_empty());
258 }
259
260 #[test]
261 fn test_semantic_diff_add_line() {

Callers

nothing calls this directly

Calls 1

semantic_diffFunction · 0.85

Tested by

no test coverage detected