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

Function test_from_text

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

Source from the content-addressed store, hash-verified

432
433 #[test]
434 fn test_from_text() {
435 let lines = Line::from_text("hello\nworld\n");
436 assert_eq!(lines.len(), 2);
437 }
438
439 #[test]
440 fn test_content_without_newline() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected