()
| 776 | |
| 777 | #[test] |
| 778 | fn test_diff_get_output_config() { |
| 779 | let diff = Diff::new() |
| 780 | .with_context(5) |
| 781 | .with_no_color(true) |
| 782 | .with_stat(true); |
| 783 | |
| 784 | let config = diff.get_output_config(); |
| 785 | |
| 786 | assert_eq!(config.context_lines, 5); |
| 787 | assert!(!config.color); |
| 788 | assert_eq!(config.format, DiffFormat::Stat); |
| 789 | } |
| 790 | |
| 791 | // Helper Function Tests |
| 792 |
nothing calls this directly
no test coverage detected