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

Function test_len

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

Source from the content-addressed store, hash-verified

494
495 #[test]
496 fn test_len() {
497 let line = Line::new(b"hello\n");
498 assert_eq!(line.len(), 6);
499 assert!(!line.is_empty());
500 }
501
502 #[test]
503 fn test_empty_line() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected