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

Function test_display_line_no_newline

atomic-core/src/diff/display.rs:818–822  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

816
817 #[test]
818 fn test_display_line_no_newline() {
819 let line = DisplayLine::new(LineStatus::Unchanged, b"hello", Some(1), Some(1));
820 assert_eq!(line.content, "hello");
821 assert!(!line.has_newline);
822 }
823
824 #[test]
825 fn test_unified_diff_identical() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected