()
| 1033 | |
| 1034 | #[test] |
| 1035 | fn test_diff_get_output_config() { |
| 1036 | let diff = Diff::new() |
| 1037 | .with_context(5) |
| 1038 | .with_no_color(true) |
| 1039 | .with_stat(true); |
| 1040 | |
| 1041 | let config = diff.get_output_config(); |
| 1042 | |
| 1043 | assert_eq!(config.context_lines, 5); |
| 1044 | assert!(!config.color); |
| 1045 | assert_eq!(config.format, DiffFormat::Stat); |
| 1046 | } |
| 1047 | |
| 1048 | // Helper Function Tests |
| 1049 |
nothing calls this directly
no test coverage detected