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

Function test_display_line_crlf

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

Source from the content-addressed store, hash-verified

809
810 #[test]
811 fn test_display_line_crlf() {
812 let line = DisplayLine::new(LineStatus::Unchanged, b"hello\r\n", Some(1), Some(1));
813 assert_eq!(line.content, "hello");
814 assert!(line.has_newline);
815 }
816
817 #[test]
818 fn test_display_line_no_newline() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected