()
| 404 | |
| 405 | #[test] |
| 406 | fn test_hunk_line_prefix() { |
| 407 | assert_eq!(HunkLine::context("x", 1, 1).prefix(), ' '); |
| 408 | assert_eq!(HunkLine::added("x", 1).prefix(), '+'); |
| 409 | assert_eq!(HunkLine::removed("x", 1).prefix(), '-'); |
| 410 | } |
| 411 | |
| 412 | #[test] |
| 413 | fn test_hunk_line_display() { |
nothing calls this directly
no outgoing calls
no test coverage detected