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

Function test_fill_gaps_empty

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

Source from the content-addressed store, hash-verified

1147
1148 #[test]
1149 fn test_fill_gaps_empty() {
1150 let filled = fill_gaps(vec![], 10);
1151 assert_eq!(filled.len(), 1);
1152 assert_eq!(filled[0].kind, HunkKind::Unchanged);
1153 assert_eq!(filled[0].range(), 0..10);
1154 }
1155
1156 // Real-world code tests
1157

Callers

nothing calls this directly

Calls 1

fill_gapsFunction · 0.85

Tested by

no test coverage detected