()
| 587 | |
| 588 | #[test] |
| 589 | fn test_diff_new() { |
| 590 | let diff = Diff::new(); |
| 591 | assert!(diff.files.is_empty()); |
| 592 | assert!(diff.change.is_none()); |
| 593 | assert_eq!(diff.algorithm, "myers"); |
| 594 | assert_eq!(diff.context, 3); |
| 595 | assert!(!diff.stat); |
| 596 | assert!(!diff.no_color); |
| 597 | assert!(!diff.name_only); |
| 598 | assert!(!diff.name_status); |
| 599 | assert!(!diff.cached); |
| 600 | assert!(diff.view.is_none()); |
| 601 | } |
| 602 | |
| 603 | #[test] |
| 604 | fn test_diff_default() { |
nothing calls this directly
no outgoing calls
no test coverage detected