()
| 1014 | |
| 1015 | #[test] |
| 1016 | fn test_diff_get_output_config() { |
| 1017 | let diff = Diff::new() |
| 1018 | .with_context(5) |
| 1019 | .with_no_color(true) |
| 1020 | .with_stat(true); |
| 1021 | |
| 1022 | let config = diff.get_output_config(); |
| 1023 | |
| 1024 | assert_eq!(config.context_lines, 5); |
| 1025 | assert!(!config.color); |
| 1026 | assert_eq!(config.format, DiffFormat::Stat); |
| 1027 | } |
| 1028 | |
| 1029 | // Helper Function Tests |
| 1030 |
nothing calls this directly
no test coverage detected