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

Function test_new_line_without_newline

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

Source from the content-addressed store, hash-verified

376
377 #[test]
378 fn test_new_line_without_newline() {
379 let line = Line::new(b"hello");
380 assert_eq!(line.content(), b"hello");
381 assert!(!line.has_trailing_newline());
382 }
383
384 #[test]
385 fn test_new_last() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected