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

Function test_linesplit_empty

atomic-core/src/diff/split.rs:393–397  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

391
392 #[test]
393 fn test_linesplit_empty() {
394 let content = b"";
395 let lines: Vec<_> = LineSplit::new(content, &Separator::Newline).collect();
396 assert!(lines.is_empty());
397 }
398
399 #[test]
400 fn test_linesplit_single_line() {

Callers

nothing calls this directly

Calls 1

collectMethod · 0.45

Tested by

no test coverage detected