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

Function test_last_line_tracking

atomic-core/src/diff/line.rs:553–558  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

551
552 #[test]
553 fn test_last_line_tracking() {
554 let lines = Line::from_bytes(b"a\nb\nc\n");
555 assert!(!lines[0].is_last());
556 assert!(!lines[1].is_last());
557 assert!(lines[2].is_last());
558 }
559}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected