()
| 34 | |
| 35 | #[test] |
| 36 | fn test_diff_format_from_str_stat() { |
| 37 | assert_eq!("stat".parse::<DiffFormat>().unwrap(), DiffFormat::Stat); |
| 38 | assert_eq!("s".parse::<DiffFormat>().unwrap(), DiffFormat::Stat); |
| 39 | assert_eq!("STAT".parse::<DiffFormat>().unwrap(), DiffFormat::Stat); |
| 40 | } |
| 41 | |
| 42 | #[test] |
| 43 | fn test_diff_format_from_str_name_only() { |
nothing calls this directly
no outgoing calls
no test coverage detected